mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2025-02-19 15:54:23 +01:00
Fixed cut tool bug, when start position was Vector2(0, 0) when checking variable with "not var" instead of "var == null"
This commit is contained in:
parent
6fbe2aea52
commit
963fdf493e
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@ func can_commit() -> bool:
|
||||
func do_action(canvas, data: Array):
|
||||
.do_action(canvas, data)
|
||||
|
||||
if not mouse_start_pos:
|
||||
if mouse_start_pos == null:
|
||||
mouse_start_pos = data[0]
|
||||
mouse_end_pos = data[0]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user