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
work/spdx
Michail Vourlakos 4 years ago
parent 4bf562c17b
commit 7c3b994cbb

@ -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

Loading…
Cancel
Save