Browse Source

页面编辑 -进入页面编辑选中,并滚动到页面

OYXH\oyxh 1 year ago
parent
commit
2c27c27f84
1 changed files with 4 additions and 0 deletions
  1. 4 0
      PDF Office/ViewModels/PageEdit/PageEditContentViewModel.cs

+ 4 - 0
PDF Office/ViewModels/PageEdit/PageEditContentViewModel.cs

@@ -2908,6 +2908,10 @@ namespace PDF_Master.ViewModels.PageEdit
                 //清空一下选中项,修复进入页面编辑后仍然选中多页的问题
                 ListSelectedIndex = -1;
                 ListSelectedIndex = PDFViewer.CurrentIndex;
+
+                //进入页面编辑 滚动到选中页面
+                NotifyUIToRefresh();
+
                 //页面编辑取消显示书签Icon
                 //RefreshBookMarkList();
                 isFirstLoad = false;