mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 16:14:43 -04:00
"Brush color from" doesn't appear when Pencil isn't selected
Also renamed some nodes and made changes to the links found at the About Dialog.
This commit is contained in:
parent
70bd1dde43
commit
74ca33ed35
3 changed files with 36 additions and 33 deletions
|
@ -9,7 +9,8 @@ func _on_BrushButton_pressed() -> void:
|
|||
Global.current_left_brush_type = brush_type
|
||||
Global.custom_left_brush_index = custom_brush_index
|
||||
if custom_brush_index > -1: #Custom brush
|
||||
Global.left_color_interpolation_container.visible = true
|
||||
if Global.current_left_tool == "Pencil":
|
||||
Global.left_color_interpolation_container.visible = true
|
||||
if hint_tooltip == "":
|
||||
Global.left_brush_type_label.text = "Custom brush"
|
||||
else:
|
||||
|
@ -24,7 +25,8 @@ func _on_BrushButton_pressed() -> void:
|
|||
Global.current_right_brush_type = brush_type
|
||||
Global.custom_right_brush_index = custom_brush_index
|
||||
if custom_brush_index > -1:
|
||||
Global.right_color_interpolation_container.visible = true
|
||||
if Global.current_right_tool == "Pencil":
|
||||
Global.right_color_interpolation_container.visible = true
|
||||
if hint_tooltip == "":
|
||||
Global.right_brush_type_label.text = "Custom brush"
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue