mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-22 05:23:14 +00:00
Fixed issue when pasting and the clipboard image is empty
This commit is contained in:
parent
a77cc05446
commit
bd085786d5
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ func copy() -> void:
|
||||||
|
|
||||||
|
|
||||||
func paste() -> void:
|
func paste() -> void:
|
||||||
if !clipboard.image:
|
if clipboard.image.is_empty():
|
||||||
return
|
return
|
||||||
clear_selection()
|
clear_selection()
|
||||||
undo_data = _get_undo_data(true)
|
undo_data = _get_undo_data(true)
|
||||||
|
|
Loading…
Add table
Reference in a new issue