1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-20 12:33:14 +00:00

Fixed issue when pasting and the clipboard image is empty

This commit is contained in:
Manolis Papadeas 2021-05-25 22:50:35 +03:00
parent a77cc05446
commit bd085786d5

View file

@ -569,7 +569,7 @@ func copy() -> void:
func paste() -> void:
if !clipboard.image:
if clipboard.image.is_empty():
return
clear_selection()
undo_data = _get_undo_data(true)