fix #435,better calculations for Tasks borders

pull/1/head
Michail Vourlakos 8 years ago
parent ab0576b687
commit c489300819

@ -376,7 +376,7 @@ Item {
if (latteApplet) {
if (container.showZoomed && root.isVertical)
return Math.round(scaledWidth);
return root.statesLineSize + root.thickMargin + root.iconSize + 1;
else
return Math.round(latteApplet.tasksWidth);
} else {
@ -398,7 +398,7 @@ Item {
if (latteApplet) {
if (container.showZoomed && root.isHorizontal)
return Math.round(scaledHeight);
return root.statesLineSize + root.thickMargin + root.iconSize + 1;
else
return Math.round(latteApplet.tasksHeight);
} else {

@ -850,8 +850,8 @@ Item {
target: icList
property int maxSize: (root.hoveredIndex>=0 && !root.dragSource) ?
root.statesLineSize + root.zoomFactor * (root.iconSize + root.thickMargin) - 1 :
root.statesLineSize + root.iconSize + root.thickMargin - 1
root.statesLineSize + root.zoomFactor * (root.iconSize + root.thickMargin) :
root.statesLineSize + root.iconSize + root.thickMargin
function urlsDroppedOnArea(urls){
// If all dropped URLs point to application desktop files, we'll add a launcher for each of them.

Loading…
Cancel
Save