Sfoglia il codice sorgente

注释-便签、右键复制文本

OYXH\oyxh 1 anno fa
parent
commit
97fdd5e693

+ 4 - 2
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs

@@ -1081,7 +1081,7 @@ namespace PDF_Master.ViewModels.Tools
                 var annot = menu.Parameter as AnnotHandlerEventArgs;
                 if (annot != null)
                 {
-                    System.Windows.Clipboard.SetText(annot.Content);
+                    System.Windows.Clipboard.SetText(annot.MarkupContent);
                 }
             }
         }
@@ -1253,7 +1253,9 @@ namespace PDF_Master.ViewModels.Tools
                         {
                             StickyAnnotArgs annotArgs = new StickyAnnotArgs()
                             {
-                                Color = stickyAnnotArgs.Color
+                                Color = stickyAnnotArgs.Color,
+                                IconName = stickyAnnotArgs.IconName,
+                                Transparency = stickyAnnotArgs.Transparency,
                             };
 
                             PDFViewer.SetToolParam(annotArgs);