diff --git a/containment/contents/ui/AppletItem.qml b/containment/contents/ui/AppletItem.qml index 9d9962453..a03a1a495 100644 --- a/containment/contents/ui/AppletItem.qml +++ b/containment/contents/ui/AppletItem.qml @@ -857,6 +857,10 @@ Item { function calculateScales( currentMousePosition ){ + if (root.editMode || root.zoomFactor===1 || root.durationTime===0) { + return; + } + var distanceFromHovered = Math.abs(index - layoutsContainer.hoveredIndex); // A new algorithm tryig to make the zoom calculation only once diff --git a/plasmoid/contents/ui/TaskDelegate.qml b/plasmoid/contents/ui/TaskDelegate.qml index 494f0e103..e79e01a64 100644 --- a/plasmoid/contents/ui/TaskDelegate.qml +++ b/plasmoid/contents/ui/TaskDelegate.qml @@ -445,7 +445,7 @@ MouseArea{ }//Flow function calculateScales( currentMousePosition ){ - if (root.editMode) { + if (root.editMode || root.zoomFactor===1 || root.durationTime===0) { return; }