From e038d76fb6c0e2d3f8cc44a18b99231ba1ac0752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=E1=BB=B3nh=20Thi=E1=BB=87n=20L=E1=BB=99c?= Date: Wed, 28 Oct 2026 19:30:57 +0700 Subject: [PATCH] fix(dock): gate magnification while hidden (#3983) (cherry picked from commit eac4ae8414df86702525a4df992389b63f097b81) --- quickshell/Modules/SurfaceWidgets/SurfaceStrip.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickshell/Modules/SurfaceWidgets/SurfaceStrip.qml b/quickshell/Modules/SurfaceWidgets/SurfaceStrip.qml index 7e749c78c..593592c8b 100644 --- a/quickshell/Modules/SurfaceWidgets/SurfaceStrip.qml +++ b/quickshell/Modules/SurfaceWidgets/SurfaceStrip.qml @@ -120,7 +120,7 @@ FocusScope { cancelDrag(); } readonly property bool vertical: surfaceContext.isVertical - readonly property bool magnificationEnabled: (root.surfaceContext.config?.magnification ?? false) && !root.surfaceContext.editMode + readonly property bool magnificationEnabled: (root.surfaceContext.config?.magnification ?? false) && !root.surfaceContext.editMode && root.surfaceContext.live readonly property bool magnificationExpand: (root.surfaceContext.config?.magnificationExpand ?? false) && root.magnificationEnabled && !root.fillAvailable readonly property string magnificationProfile: root.surfaceContext.config?.magnificationProfile ?? "parabolic" readonly property real maxMagnification: Math.max(1.05, Math.min(2.0, (root.surfaceContext.config?.magnificationScale ?? 130) / 100))