From 33ad9069e06f2027589b6be484ae1120ec9388fc Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Thu, 7 Jan 2021 18:14:54 +0200 Subject: [PATCH] make slide in/outs relevant to animations speed --- containment/package/contents/ui/VisibilityManager.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containment/package/contents/ui/VisibilityManager.qml b/containment/package/contents/ui/VisibilityManager.qml index 961767def..3687c1a53 100644 --- a/containment/package/contents/ui/VisibilityManager.qml +++ b/containment/package/contents/ui/VisibilityManager.qml @@ -49,7 +49,7 @@ Item{ property int maskFloatedGap: maskIsFloating ? Math.max(0, metrics.margin.screenEdge - background.shadows.headThickness) : 0 property int animationSpeed: LatteCore.WindowSystem.compositingActive ? - (root.editMode ? 400 : animations.speedFactor.normal * 1.62 * animations.duration.large) : 0 + (root.editMode ? 400 : animations.speedFactor.current * 1.62 * animations.duration.large) : 0