|
@@ -190,10 +190,9 @@ namespace PDF_Master.Views.BOTA
|
|
viewModel.IsModified = false;
|
|
viewModel.IsModified = false;
|
|
AnnotationList.SelectedItem = obj.annotHandlerArgs;
|
|
AnnotationList.SelectedItem = obj.annotHandlerArgs;
|
|
AnnotationList.SelectedIndex = AnnotationList.Items.IndexOf(obj.annotHandlerArgs);
|
|
AnnotationList.SelectedIndex = AnnotationList.Items.IndexOf(obj.annotHandlerArgs);
|
|
-
|
|
|
|
- await Task.Delay(10);//不加延时 会有不滚动的现象
|
|
|
|
- AnnotationList.ScrollIntoView(AnnotationList.SelectedItem);
|
|
|
|
}
|
|
}
|
|
|
|
+ await Task.Delay(10);//不加延时 会有不滚动的现象
|
|
|
|
+ AnnotationList.ScrollIntoView(AnnotationList.SelectedItem);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|