mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:54:44 -04:00
Fixed issue where the brush type select popup window chose brush type for the right tool instead of the left
This commit is contained in:
parent
ed42cdaef1
commit
6c14a7d5e2
3 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,7 @@ var custom_brush_index := -1
|
|||
|
||||
func _on_BrushButton_pressed() -> void:
|
||||
#Change left brush
|
||||
if Global.brushes_popup.rect_global_position == Global.left_brush_type_button.rect_global_position:
|
||||
if Global.brush_type_window_position == "left":
|
||||
Global.current_left_brush_type = brush_type
|
||||
Global.custom_left_brush_index = custom_brush_index
|
||||
if custom_brush_index > -1: #Custom brush
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue