From ce92f88af2633b9592ce611b590be941e5b24bd0 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Mon, 20 Mar 2017 00:59:20 +0200 Subject: [PATCH] improvements for animations --restore on startup neighbour tasks on bouncing launcher --show the remove window animation only when there isnt launcher for the last window --- plasmoid/contents/ui/TaskDelegate.qml | 2 +- plasmoid/contents/ui/TaskIconItem.qml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plasmoid/contents/ui/TaskDelegate.qml b/plasmoid/contents/ui/TaskDelegate.qml index a0e10b616..ec8035de4 100644 --- a/plasmoid/contents/ui/TaskDelegate.qml +++ b/plasmoid/contents/ui/TaskDelegate.qml @@ -523,7 +523,7 @@ MouseArea{ } onDelayingRemoveChanged: { - if(delayingRemove && isWindow) + if(delayingRemove && (!root.launcherExists(mainItemContainer.launcherUrl) && mainItemContainer.isWindow)) groupWindowRemoved(); } diff --git a/plasmoid/contents/ui/TaskIconItem.qml b/plasmoid/contents/ui/TaskIconItem.qml index 3c4ad4db6..fdc431c62 100644 --- a/plasmoid/contents/ui/TaskIconItem.qml +++ b/plasmoid/contents/ui/TaskIconItem.qml @@ -544,13 +544,16 @@ Item{ if(!launchedAlready) { launchedAlready = true; root.signalAnimationsNeedThickness(1); + root.globalDirectRender=false; + icList.directRender=false; + root.updateScale(index+1, 1, 0); + root.updateScale(index-1, 1, 0); root.noTasksInAnimation++; mainItemContainer.setBlockingAnimation(true); } wrapper.tempScaleWidth = wrapper.mScale; wrapper.tempScaleHeight = wrapper.mScale; - icList.hoveredIndex = -1; }