1
0
Fork 0
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:
kevinms 2021-04-01 19:13:54 -04:00 committed by GitHub
parent 6cce27a360
commit 05eda55bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: