From 46fdd3306c035c76ebe8a810faa125c224c3a46c Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 30 May 2025 08:32:16 +0200 Subject: [PATCH] clipboard images: don't stretch --- .config/quickshell/modules/common/widgets/CliphistImage.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/quickshell/modules/common/widgets/CliphistImage.qml b/.config/quickshell/modules/common/widgets/CliphistImage.qml index 088f6373..9de34450 100644 --- a/.config/quickshell/modules/common/widgets/CliphistImage.qml +++ b/.config/quickshell/modules/common/widgets/CliphistImage.qml @@ -41,7 +41,8 @@ Rectangle { property real scale: { return Math.min( root.maxWidth / imageWidth, - root.maxHeight / imageHeight + root.maxHeight / imageHeight, + 1 ) }