mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-07 10:59:49 +00:00
Fix bug where undoing after pasting, did not make the previous selection appear
This commit is contained in:
parent
362f4109d4
commit
308a3a2416
|
@ -746,8 +746,10 @@ func paste(in_place := false) -> void:
|
||||||
if clipboard.image.is_empty():
|
if clipboard.image.is_empty():
|
||||||
return
|
return
|
||||||
|
|
||||||
clear_selection()
|
if is_moving_content:
|
||||||
|
transform_content_confirm()
|
||||||
undo_data = get_undo_data(true)
|
undo_data = get_undo_data(true)
|
||||||
|
clear_selection()
|
||||||
var project: Project = Global.current_project
|
var project: Project = Global.current_project
|
||||||
|
|
||||||
var clip_map := SelectionMap.new()
|
var clip_map := SelectionMap.new()
|
||||||
|
|
Loading…
Reference in a new issue