diff --git a/src/effects/private/qml/WindowHeap.qml b/src/effects/private/qml/WindowHeap.qml index 133895e409..52fdf5f759 100644 --- a/src/effects/private/qml/WindowHeap.qml +++ b/src/effects/private/qml/WindowHeap.qml @@ -73,7 +73,7 @@ FocusScope { component TweenBehavior : Behavior { enabled: thumb.state !== "partial" && heap.animationEnabled && !thumb.activeDragHandler.active NumberAnimation { - duration: effect.animationDuration + duration: heap.animationDuration easing.type: Easing.OutCubic } } @@ -121,7 +121,7 @@ FocusScope { to: "normal" enabled: heap.animationEnabled NumberAnimation { - duration: effect.animationDuration + duration: heap.animationDuration properties: "x, y, width, height, opacity" easing.type: Easing.OutCubic } diff --git a/src/effects/windowview/qml/main.qml b/src/effects/windowview/qml/main.qml index e9988d34d8..ffd7da6ef0 100644 --- a/src/effects/windowview/qml/main.qml +++ b/src/effects/windowview/qml/main.qml @@ -42,7 +42,7 @@ Item { layer.effect: FastBlur { radius: container.organized ? 64 : 0 Behavior on radius { - NumberAnimation { duration: effect.animationDuration; easing.type: Easing.OutCubic } + NumberAnimation { duration: container.animationDuration; easing.type: Easing.OutCubic } } } }