mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-28 14:07:47 -04:00
fix(dock): gate magnification while hidden (#3983)
This commit is contained in:
1 parent
07c899dd0c
commit
eac4ae8414
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user