Update ColorPicker.cs

This commit is contained in:
NaBian committed 2021-06-23 21:41:41 +08:00
1 parent ede66ad89c
commit e343ca64b4
1 file changed
+1 -3
@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Windows; using System.Windows;
@@ -714,8 +714,6 @@ namespace HandyControl.Controls
{ {
Info = SelectedBrush.Color Info = SelectedBrush.Color
}); });
RaiseEvent(new RoutedEventArgs(CanceledEvent));
} }
private void ButtonCancel_OnClick(object sender, RoutedEventArgs e) => RaiseEvent(new RoutedEventArgs(CanceledEvent)); private void ButtonCancel_OnClick(object sender, RoutedEventArgs e) => RaiseEvent(new RoutedEventArgs(CanceledEvent));