mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2024-11-08 16:12:09 +01:00
fixed bucket tool not having an action
This commit is contained in:
parent
8a8d776e3e
commit
baf1caeb28
@ -136,6 +136,8 @@ func _input(event):
|
|||||||
Tools.BUCKET:
|
Tools.BUCKET:
|
||||||
if event.button_index == BUTTON_LEFT:
|
if event.button_index == BUTTON_LEFT:
|
||||||
if event.pressed:
|
if event.pressed:
|
||||||
|
if _current_action == null:
|
||||||
|
_current_action = get_action()
|
||||||
do_action([cell_mouse_position, last_cell_mouse_position, selected_color])
|
do_action([cell_mouse_position, last_cell_mouse_position, selected_color])
|
||||||
|
|
||||||
Tools.COLORPICKER:
|
Tools.COLORPICKER:
|
||||||
|
Loading…
Reference in New Issue
Block a user