Browse Source

Merge branch 'dev' of http://git.kdan.cc:8865/Windows/PDFOffice_Windows_exe into dev

OYXH\oyxh 1 year ago
parent
commit
7399a6288b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      PDF Office/CustomControl/CompositeControl/ColorContent.xaml.cs

+ 1 - 0
PDF Office/CustomControl/CompositeControl/ColorContent.xaml.cs

@@ -165,6 +165,7 @@ namespace PDF_Master.CustomControl.CompositeControl
                     if (colorItem.A == co.Color.A && colorItem.G == co.Color.G && colorItem.B == co.Color.B && colorItem.R == co.Color.R)
                     {
                         control.ListColor.SelectedItem = item;
+                        control.SelectedColor = colorItem;
                         //control.ElcustomColor.Fill = new SolidColorBrush(Colors.Transparent);
                         isFoundListItem = true;
                         break;