mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Fix selection resizing not keeping the original bitmap after gizmo release
This commit is contained in:
parent
e86dde2fb5
commit
24da4bd703
|
@ -108,9 +108,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
|
||||||
if Input.is_action_pressed("alt"):
|
if Input.is_action_pressed("alt"):
|
||||||
undo_data = _get_undo_data(false)
|
undo_data = _get_undo_data(false)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue