diff --git a/haxe/ui/components/ColorPicker.hx b/haxe/ui/components/ColorPicker.hx index bb20be564..2122d720b 100644 --- a/haxe/ui/components/ColorPicker.hx +++ b/haxe/ui/components/ColorPicker.hx @@ -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 = null; private function updateSaturationValueGraph() {