forked from Shinonome/dots-hyprland
clipboard images: don't stretch
This commit is contained in:
@@ -41,7 +41,8 @@ Rectangle {
|
||||
property real scale: {
|
||||
return Math.min(
|
||||
root.maxWidth / imageWidth,
|
||||
root.maxHeight / imageHeight
|
||||
root.maxHeight / imageHeight,
|
||||
1
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user