fix typo and animations removal animation

pull/1/head
Michail Vourlakos 8 years ago
parent 819e1ed51c
commit e01779c71e

@ -338,8 +338,8 @@ MouseArea{
anchors.left: (root.position === PlasmaCore.Types.LeftPositioned) ? parent.left : undefined anchors.left: (root.position === PlasmaCore.Types.LeftPositioned) ? parent.left : undefined
anchors.right: (root.position === PlasmaCore.Types.RightPositioned) ? parent.right : undefined anchors.right: (root.position === PlasmaCore.Types.RightPositioned) ? parent.right : undefined
anchors.horizontalCenter: !parent.vertical ? parent.horizontalCenter : undefined anchors.horizontalCenter: !root.vertical ? parent.horizontalCenter : undefined
anchors.verticalCenter: parent.vertical ? parent.verticalCenter : undefined anchors.verticalCenter: root.vertical ? parent.verticalCenter : undefined
width: wrapper.width width: wrapper.width
height: wrapper.height height: wrapper.height
@ -1347,7 +1347,7 @@ MouseArea{
property bool animation4: ((mainItemContainer.launcherUrl===root.launcherForRemoval property bool animation4: ((mainItemContainer.launcherUrl===root.launcherForRemoval
|| mainItemContainer.launcherUrlWithIcon===root.launcherForRemoval )&& mainItemContainer.isLauncher) || 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{ ScriptAction{
script:{ script:{

Loading…
Cancel
Save