From cddfd402f75fb86f32cf36878e469135ddc94608 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Mon, 1 May 2017 18:57:52 +0300 Subject: [PATCH] fix internal separator hovering calculations --- plasmoid/contents/ui/TaskDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plasmoid/contents/ui/TaskDelegate.qml b/plasmoid/contents/ui/TaskDelegate.qml index 444fe8887..a997b96bd 100644 --- a/plasmoid/contents/ui/TaskDelegate.qml +++ b/plasmoid/contents/ui/TaskDelegate.qml @@ -452,7 +452,7 @@ MouseArea{ if(mainItemContainer.isSeparator){ //minimumZoom for separator item var tempZoomDifference = (root.missingSeparatorLength / (root.maxSeparatorLength+root.missingSeparatorLength)) * root.zoomFactor; - minimumZoom = tempZoomDifference; + minimumZoom = Math.max(tempZoomDifference, 1); } //finding the zoom center e.g. for zoom:1.7, calculates 0.35