|
@@ -1,4 +1,5 @@
|
|
|
using ComPDFKitViewer.AnnotEvent;
|
|
|
+using Microsoft.Office.Interop.Excel;
|
|
|
using PDF_Master.ViewModels.PropertyPanel.AnnotPanel;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
@@ -144,7 +145,11 @@ namespace PDF_Master.Views.PropertyPanel.AnnotPanel
|
|
|
ViewModel.ExmpleData = (Geometry)converter.ConvertFrom(datacomment);
|
|
|
break;
|
|
|
}
|
|
|
- ViewModel.SharpCurrentColor = App.Current.FindResource("color.sys.layout.divider.note") as Brush;
|
|
|
+ if (ViewModel.IsFirst) { ViewModel.SharpCurrentColor = App.Current.FindResource("color.sys.layout.divider.note") as Brush;
|
|
|
+ ViewModel.SharpColor = ViewModel.SharpColor;
|
|
|
+ ViewModel.IsFirst = false;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
// cusColor.SelectedColorHandler -= cusColor_SelectedColor;
|