mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Fix issue with gizmos not working if the user has moved the selection with contents first
This commit is contained in:
parent
8f1c6bb3d3
commit
3ad3697c84
|
@ -101,9 +101,9 @@ func _input(event : InputEvent) -> void:
|
||||||
Global.has_focus = false
|
Global.has_focus = false
|
||||||
mouse_pos_on_gizmo_drag = Global.canvas.current_pixel
|
mouse_pos_on_gizmo_drag = Global.canvas.current_pixel
|
||||||
dragged_gizmo = gizmo
|
dragged_gizmo = gizmo
|
||||||
|
temp_bitmap = Global.current_project.selection_bitmap
|
||||||
if !is_moving_content:
|
if !is_moving_content:
|
||||||
temp_rect = big_bounding_rectangle
|
temp_rect = big_bounding_rectangle
|
||||||
temp_bitmap = Global.current_project.selection_bitmap
|
|
||||||
transform_content_start()
|
transform_content_start()
|
||||||
Global.current_project.selection_offset = Vector2.ZERO
|
Global.current_project.selection_offset = Vector2.ZERO
|
||||||
if gizmo.type == Gizmo.Type.ROTATE:
|
if gizmo.type == Gizmo.Type.ROTATE:
|
||||||
|
|
Loading…
Reference in a new issue