1
0
Fork 0
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:
Emmanouil Papadeas 2023-10-21 16:35:38 +03:00
parent 5e64491bee
commit 6247ab2252

View file

@ -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