mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-21 21:13:14 +00:00
Fix issue with content being pasted in sub-pixel positions
This commit is contained in:
parent
5e749db0d5
commit
403539bb47
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ func paste(in_place := false) -> void:
|
||||||
camera_center.y = clamp(camera_center.y, 0, max_pos.y)
|
camera_center.y = clamp(camera_center.y, 0, max_pos.y)
|
||||||
else:
|
else:
|
||||||
camera_center.y = 0
|
camera_center.y = 0
|
||||||
big_bounding_rectangle.position = camera_center
|
big_bounding_rectangle.position = camera_center.floor()
|
||||||
project.selection_map.move_bitmap_values(Global.current_project, false)
|
project.selection_map.move_bitmap_values(Global.current_project, false)
|
||||||
|
|
||||||
self.big_bounding_rectangle = big_bounding_rectangle
|
self.big_bounding_rectangle = big_bounding_rectangle
|
||||||
|
|
Loading…
Add table
Reference in a new issue