From dd8a3f9fc910a836a5475c9ed4df2c4ccdbe17c2 Mon Sep 17 00:00:00 2001 From: Ian Harrigan Date: Thu, 8 Aug 2024 21:08:12 +0200 Subject: [PATCH] default to black (no event) --- haxe/ui/components/ColorPicker.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haxe/ui/components/ColorPicker.hx b/haxe/ui/components/ColorPicker.hx index 414d37742..224eb8ec3 100644 --- a/haxe/ui/components/ColorPicker.hx +++ b/haxe/ui/components/ColorPicker.hx @@ -163,7 +163,7 @@ private class HSVColorPickerImpl extends ColorPickerImpl { saturationValueGraph.componentGraphics.setProperty("html5.graphics.method", "canvas"); hueGraph.componentGraphics.setProperty("html5.graphics.method", "canvas"); pauseEvent(UIEvent.CHANGE); - currentColor = 0xFF0000; + currentColor = 0x000000; } private override function set_currentColor(value:Null):Null {