From 7c3b994cbbc846337ed76335eda9a5e6aeaa5527 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 26 Dec 2020 00:42:56 +0200 Subject: [PATCH] sinked_events:do not send for needlength animations --fix a case of parabolic effect breaking when mouse was hovering empty areas on the sides of the dock --- 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 c0fb358ef..95ce421b6 100644 --- a/containment/package/contents/ui/VisibilityManager.qml +++ b/containment/package/contents/ui/VisibilityManager.qml @@ -60,7 +60,7 @@ Item{ property bool inScreenEdgeInternalWindowSliding: root.behaveAsDockWithMask && hideThickScreenGap readonly property bool inSliding: inSlidingIn || inSlidingOut || inRelocationHiding || inScreenEdgeInternalWindowSliding || inLocationAnimation - readonly property bool isSinkedEventEnabled: !(parabolic.isEnabled && animations.needBothAxis.count>0) && !inSlidingIn + readonly property bool isSinkedEventEnabled: !(parabolic.isEnabled && (animations.needBothAxis.count>0 || animations.needLength.count>0)) && !inSlidingIn property int length: root.isVertical ? Screen.height : Screen.width //screenGeometry.height : screenGeometry.width