From e68b3aed48b9e4c5b201f593f4422e5619b27bb4 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 21 Oct 2017 23:51:07 +0300 Subject: [PATCH] reenable show window added animation --- .../contents/ui/task/animations/TaskNewWindowAnimation.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plasmoid/package/contents/ui/task/animations/TaskNewWindowAnimation.qml b/plasmoid/package/contents/ui/task/animations/TaskNewWindowAnimation.qml index 07f3a190a..bc6f952ab 100644 --- a/plasmoid/package/contents/ui/task/animations/TaskNewWindowAnimation.qml +++ b/plasmoid/package/contents/ui/task/animations/TaskNewWindowAnimation.qml @@ -118,7 +118,7 @@ SequentialAnimation{ wrapper.tempScaleHeight = wrapper.mScale; if(!isDemandingAttention) - loops = 2; + loops = 1; else { loops = 20; mainItemContainer.inAttentionAnimation = true; @@ -133,7 +133,8 @@ SequentialAnimation{ } function bounceNewWindow(){ - if (isDemandingAttention && !root.dockIsHidden && (root.zoomFactor > 1)){ + //if (isDemandingAttention && !root.dockIsHidden && (root.zoomFactor > 1)){ + if (!root.dockIsHidden && (root.zoomFactor > 1) && (root.durationTime>0)){ newWindowAnimation.init(); start(); }