From 7645dc90074fbff16440b8413f8072017e1d749a Mon Sep 17 00:00:00 2001
From: Michail Vourlakos <mvourlakos@gmail.com>
Date: Mon, 25 Dec 2017 16:47:59 +0200
Subject: [PATCH] improvements for tasks dragging

--dont change the ratio size of the task during
dragging
--clear parabolic effect during dragging
---
 plasmoid/package/contents/ui/task/TaskIconItem.qml | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/plasmoid/package/contents/ui/task/TaskIconItem.qml b/plasmoid/package/contents/ui/task/TaskIconItem.qml
index 13d5862ca..f427095be 100644
--- a/plasmoid/package/contents/ui/task/TaskIconItem.qml
+++ b/plasmoid/package/contents/ui/task/TaskIconItem.qml
@@ -547,7 +547,10 @@ Item{
     Colorize{
         id: stateColorizer
         source: badgesLoader.active ? badgesLoader : iconImageBuffer
-        anchors.fill: iconGraphic
+        anchors.centerIn: iconGraphic
+        width: source.width
+        height: source.height
+
         //visible: false
         opacity:0
 
@@ -619,16 +622,17 @@ Item{
                         }
 
                         mainItemContainer.inBlockingAnimation = true;
+                        root.clearZoom();
                     }
                 }
 
-                PropertyAnimation {
+                /*PropertyAnimation {
                     target: wrapper
                     property: "mScale"
                     to: 1 + ((root.zoomFactor - 1) / 2)
                     duration: isDraggedTransition.speed / 2
                     easing.type: Easing.OutQuad
-                }
+                }*/
 
                 ParallelAnimation{
                     PropertyAnimation {
@@ -708,13 +712,13 @@ Item{
                     }
                 }
 
-                PropertyAnimation {
+              /*  PropertyAnimation {
                     target: wrapper
                     property: "mScale"
                     to: 1;
                     duration: isDraggedTransition.speed
                     easing.type: Easing.OutQuad
-                }
+                }*/
 
                 ScriptAction{
                     script: {