mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 17:24:44 -04:00
Remove custom brushes with the middle mouse button
And made the "X" button on the custom brushes a little smaller. Partially addresses #132
This commit is contained in:
parent
2f48547f6c
commit
14900ed5ab
6 changed files with 25 additions and 12 deletions
|
@ -19,7 +19,7 @@ func _on_FrameButton_pressed() -> void:
|
|||
popup_menu.set_item_disabled(3, false)
|
||||
popup_menu.popup(Rect2(get_global_mouse_position(), Vector2.ONE))
|
||||
pressed = !pressed
|
||||
else: #Middle mouse click
|
||||
else: # Middle mouse click
|
||||
pressed = !pressed
|
||||
if Global.canvases.size() > 1:
|
||||
remove_frame()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue