diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index ebabdcc2c..2ba024a6c 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -367,7 +367,7 @@ DragDrop.DropArea { property int panelUserSetAlignment: plasmoid.configuration.panelPosition - property real zoomFactor: Latte.WindowSystem.compositingActive ? ( 1 + (plasmoid.configuration.zoomLevel / 20) ) : 1 + property real zoomFactor: Latte.WindowSystem.compositingActive && root.animationsEnabled ? ( 1 + (plasmoid.configuration.zoomLevel / 20) ) : 1 readonly property string plasmoidName: "org.kde.latte.plasmoid" diff --git a/shell/package/contents/configuration/pages/AppearanceConfig.qml b/shell/package/contents/configuration/pages/AppearanceConfig.qml index 4287a029e..f52937040 100644 --- a/shell/package/contents/configuration/pages/AppearanceConfig.qml +++ b/shell/package/contents/configuration/pages/AppearanceConfig.qml @@ -282,9 +282,9 @@ PlasmaComponents.Page { } LatteComponents.Slider { - Layout.fillWidth: true id: zoomSlider - + Layout.fillWidth: true + enabled: plasmoid.configuration.animationsEnabled value: Number(1 + plasmoid.configuration.zoomLevel / 20).toFixed(2) from: 1 to: 2