mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix hue and saturation getting reset when draging value slider to zero (#473)
This commit is contained in:
parent
6cce27a360
commit
05eda55bc7
|
@ -22,10 +22,12 @@ func _on_ColorPickerButton_color_changed(color : Color, right : bool):
|
|||
|
||||
func _on_ColorPickerButton_pressed() -> void:
|
||||
Global.can_draw = false
|
||||
Tools.disconnect("color_changed", self, "update_color")
|
||||
|
||||
|
||||
func _on_ColorPickerButton_popup_closed() -> void:
|
||||
Global.can_draw = true
|
||||
Tools.connect("color_changed", self, "update_color")
|
||||
|
||||
|
||||
func _on_ColorDefaults_pressed() -> void:
|
||||
|
|
Loading…
Reference in a new issue