1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 07:29:49 +00:00

Fix bug where undoing after pasting, did not make the previous selection appear

This commit is contained in:
Emmanouil Papadeas 2023-05-12 13:28:53 +03:00
parent 362f4109d4
commit 308a3a2416

View file

@ -746,8 +746,10 @@ func paste(in_place := false) -> void:
if clipboard.image.is_empty():
return
clear_selection()
if is_moving_content:
transform_content_confirm()
undo_data = get_undo_data(true)
clear_selection()
var project: Project = Global.current_project
var clip_map := SelectionMap.new()