mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-21 22:50:14 +03:00
fix internal separator hovering calculations
This commit is contained in:
parent
2ec97f1456
commit
cddfd402f7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user