clipboard images: don't stretch

This commit is contained in:
end-4 2025-05-30 08:32:16 +02:00
parent 05d134dd9d
commit 46fdd3306c

View file

@ -41,7 +41,8 @@ Rectangle {
property real scale: {
return Math.min(
root.maxWidth / imageWidth,
root.maxHeight / imageHeight
root.maxHeight / imageHeight,
1
)
}