Skip to content

Commit

Permalink
Merge pull request #4403 from timunie/fix/ColorCanvasInvalidation
Browse files Browse the repository at this point in the history
Fix HSV-Invalidation
  • Loading branch information
punker76 committed Jul 6, 2023
2 parents 3fce022 + 1c9f0a4 commit 2fb0e1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MahApps.Metro/Controls/ColorPicker/ColorPickerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ private static void OnHSVValuesChanged(DependencyObject dependencyObject, Depend
try
{
colorPicker.SetCurrentValue(SelectedColorProperty, hsv.ToColor());
colorPicker.SetValue(SelectedHSVColorPropertyKey, hsv);
}
finally
{
Expand Down

0 comments on commit 2fb0e1b

Please sign in to comment.