mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:24: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
|
@ -734,9 +734,11 @@ func _on_RightIndicatorCheckbox_toggled(button_pressed) -> void:
|
|||
|
||||
func _on_LeftBrushTypeButton_pressed() -> void:
|
||||
Global.brushes_popup.popup(Rect2(Global.left_brush_type_button.rect_global_position, Vector2(226, 72)))
|
||||
Global.brush_type_window_position = "left"
|
||||
|
||||
func _on_RightBrushTypeButton_pressed() -> void:
|
||||
Global.brushes_popup.popup(Rect2(Global.right_brush_type_button.rect_global_position, Vector2(226, 72)))
|
||||
Global.brush_type_window_position = "right"
|
||||
|
||||
func _on_LeftBrushSizeEdit_value_changed(value) -> void:
|
||||
var new_size = int(value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue