mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
clipboard images: don't stretch
This commit is contained in:
parent
05d134dd9d
commit
46fdd3306c
1 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ Rectangle {
|
|||
property real scale: {
|
||||
return Math.min(
|
||||
root.maxWidth / imageWidth,
|
||||
root.maxHeight / imageHeight
|
||||
root.maxHeight / imageHeight,
|
||||
1
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue