From 2f45aa9129b65fc34c35cae2cfb5b50aaffd9150 Mon Sep 17 00:00:00 2001
From: Michail Vourlakos <mvourlakos@gmail.com>
Date: Mon, 5 Feb 2018 20:28:30 +0200
Subject: [PATCH] dont delay clearing zoom for task

---
 plasmoid/package/contents/ui/task/TaskDelegate.qml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/plasmoid/package/contents/ui/task/TaskDelegate.qml b/plasmoid/package/contents/ui/task/TaskDelegate.qml
index c369cb6e4..745e56ee7 100644
--- a/plasmoid/package/contents/ui/task/TaskDelegate.qml
+++ b/plasmoid/package/contents/ui/task/TaskDelegate.qml
@@ -812,8 +812,7 @@ MouseArea{
 
         if (root.globalDirectRender)
             wrapper.mScale = 1;
-        else if ((!inAttentionAnimation && !inFastRestoreAnimation && !inMimicParabolicAnimation)
-                 || (latteDock && !latteDock.dockContainsMouse))
+        else if (!inAttentionAnimation && !inFastRestoreAnimation && !inMimicParabolicAnimation)
             restoreAnimation.start();
     }