Skip to content

Commit

Permalink
invalidate canvas layout when picker is ready to resize canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Aug 8, 2024
1 parent dd8a3f9 commit dfbaf80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions haxe/ui/components/ColorPicker.hx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ private class HSVColorPickerImpl extends ColorPickerImpl {
return super.set_currentColor(value);
}

private override function onReady() {
super.onReady();
saturationValueGraph.invalidateComponentLayout();
}

private override function onCurrentColorChanged() {
invalidateComponentData();
}
Expand Down

0 comments on commit dfbaf80

Please sign in to comment.