Browse Source

ComPDFKit.Tool(win) - 优化内容编辑对象编辑框层级顺序

TangJinZhou 1 month ago
parent
commit
569b46a636
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.TextEdit.cs

+ 1 - 1
Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.TextEdit.cs

@@ -399,7 +399,7 @@ namespace ComPDFKit.Tool
                 {
                     continue;
                 }
-                foreach (CPDFEditArea editArea in item.CPDFEditPageObj.GetEditAreaList())
+                foreach (CPDFEditArea editArea in item.CPDFEditPageObj.GetEditAreaList().AsEnumerable().Reverse())
                 {
                     SelectedRect selectedRect = new SelectedRect(GetDefaultDrawParam(), SelectedType.PDFEdit);
                     selectedRect.SetEditPen(editPen, editHoverPen);