Skip to content

Commit

Permalink
force redraw after picker is shown
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed May 13, 2024
1 parent 4dbac05 commit 8c452f8
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 @@ -220,6 +220,11 @@ private class HSVColorPickerImpl extends ColorPickerImpl {
}
}

@:bind(this, UIEvent.SHOWN)
private function _onShown(_) {
_saturationValueGraphLastHue = null;
}

private var _saturationValueGraphBytes:Bytes = null;
private var _saturationValueGraphLastHue:Null<Float> = null;
private function updateSaturationValueGraph() {
Expand Down

0 comments on commit 8c452f8

Please sign in to comment.