mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-03-13 06:45:17 +00:00
Fix gizmos being able to get edited when there is no selection
This commit is contained in:
parent
dca76afe17
commit
b420bebb3e
1 changed files with 5 additions and 4 deletions
|
@ -82,6 +82,7 @@ func _input(event : InputEvent) -> void:
|
|||
move_content_cancel()
|
||||
elif event is InputEventMouse:
|
||||
var gizmo : Gizmo
|
||||
if big_bounding_rectangle.size != Vector2.ZERO:
|
||||
for g in gizmos:
|
||||
if g.rect.has_point(Global.canvas.current_pixel):
|
||||
gizmo = g
|
||||
|
|
Loading…
Add table
Reference in a new issue