mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix crash when pasting
This commit is contained in:
parent
5e64491bee
commit
6247ab2252
|
@ -770,7 +770,7 @@ func paste(in_place := false) -> void:
|
|||
camera_center.y = clampf(camera_center.y, 0, max_pos.y)
|
||||
else:
|
||||
camera_center.y = 0
|
||||
big_bounding_rectangle.position = camera_center.floor()
|
||||
big_bounding_rectangle.position = Vector2i(camera_center.floor())
|
||||
project.selection_map.move_bitmap_values(Global.current_project, false)
|
||||
|
||||
big_bounding_rectangle = big_bounding_rectangle
|
||||
|
|
Loading…
Reference in a new issue