fixed a bug of ColorPicker
This commit is contained in:
1 parent
722bc38176
commit
ca93d62316
1 file changed
+1
@@ -434,6 +434,7 @@ namespace HandyControl.Controls
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void Init()
|
private void Init()
|
||||||
{
|
{
|
||||||
|
if (_panelColor == null) return;
|
||||||
UpdateStatus(SelectedBrush.Color);
|
UpdateStatus(SelectedBrush.Color);
|
||||||
_panelColor.Children.Clear();
|
_panelColor.Children.Clear();
|
||||||
foreach (var item in _colorPresetList)
|
foreach (var item in _colorPresetList)
|
||||||
|
|||||||
Reference in new issue
Block a user