From e01779c71e0ab71aac70b54690524b05146e9006 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 21 Apr 2017 23:51:00 +0300 Subject: [PATCH] fix typo and animations removal animation --- plasmoid/contents/ui/TaskDelegate.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plasmoid/contents/ui/TaskDelegate.qml b/plasmoid/contents/ui/TaskDelegate.qml index 8a66d6eec..c65374ac2 100644 --- a/plasmoid/contents/ui/TaskDelegate.qml +++ b/plasmoid/contents/ui/TaskDelegate.qml @@ -338,8 +338,8 @@ MouseArea{ anchors.left: (root.position === PlasmaCore.Types.LeftPositioned) ? parent.left : undefined anchors.right: (root.position === PlasmaCore.Types.RightPositioned) ? parent.right : undefined - anchors.horizontalCenter: !parent.vertical ? parent.horizontalCenter : undefined - anchors.verticalCenter: parent.vertical ? parent.verticalCenter : undefined + anchors.horizontalCenter: !root.vertical ? parent.horizontalCenter : undefined + anchors.verticalCenter: root.vertical ? parent.verticalCenter : undefined width: wrapper.width height: wrapper.height @@ -1347,7 +1347,7 @@ MouseArea{ property bool animation4: ((mainItemContainer.launcherUrl===root.launcherForRemoval || mainItemContainer.launcherUrlWithIcon===root.launcherForRemoval )&& mainItemContainer.isLauncher) - property bool enabledAnimation: (animation1 || animation4) && (root.durationTime !== 0); + property bool enabledAnimation: (animation1 || animation4) && (root.durationTime !== 0) && !mainItemContainer.inBouncingAnimation; ScriptAction{ script:{