|
@@ -1106,15 +1106,18 @@ namespace PDF_Master.ViewModels.BOTA
|
|
|
AnnotationListItems.Add(args);
|
|
|
CurrentAnnotationLists.Add(args);
|
|
|
|
|
|
- await Task.Delay(5);//不加延时 每页的第一个注释不会展开
|
|
|
- //添加 时 ,形状、图章、签名,添加后选中
|
|
|
- if (args.EventType == AnnotArgsType.AnnotSquare ||
|
|
|
+ await Task.Delay(5);//不加延时 每页的第一个注释不会展开
|
|
|
+ if (ViewContentViewModel.IsMultiSelected == false)
|
|
|
+ {
|
|
|
+ //添加 时 ,形状、图章、签名,添加后选中
|
|
|
+ if (args.EventType == AnnotArgsType.AnnotSquare ||
|
|
|
args.EventType == AnnotArgsType.AnnotCircle ||
|
|
|
args.EventType == AnnotArgsType.AnnotLine ||
|
|
|
args.EventType == AnnotArgsType.AnnotStamp
|
|
|
- /* ||args.EventType == AnnotArgsType.AnnotLink*/)
|
|
|
- {
|
|
|
- listBox.SelectedItem = args;
|
|
|
+ /* ||args.EventType == AnnotArgsType.AnnotLink*/)
|
|
|
+ {
|
|
|
+ listBox.SelectedItem = args;
|
|
|
+ }
|
|
|
}
|
|
|
ExpandGroupHeader(args, listBox);
|
|
|
// 关闭后选中关闭前的位置
|