Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hue and saturation getting reset when draging value slider to zero #473

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/UI/ColorAndToolOptions.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down