From 5f487af5b6d6b1cb03ecf535d07295896560861f Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 28 Jan 2017 10:49:02 +0200 Subject: [PATCH] improve dock geometry --- containment/contents/ui/VisibilityManager.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containment/contents/ui/VisibilityManager.qml b/containment/contents/ui/VisibilityManager.qml index ef2cf5a30..d98785cb1 100644 --- a/containment/contents/ui/VisibilityManager.qml +++ b/containment/contents/ui/VisibilityManager.qml @@ -266,9 +266,9 @@ Item{ //before updating the localDockGeometry if (plasmoid.formFactor === PlasmaCore.Types.Vertical) { - newMaskArea.width = newMaskArea.width - editModeVisual.shadowSize; + newMaskArea.width = newMaskArea.width - editModeVisual.shadowSize - 1; } else { - newMaskArea.height = newMaskArea.height - editModeVisual.shadowSize; + newMaskArea.height = newMaskArea.height - editModeVisual.shadowSize - 1; } if (plasmoid.location === PlasmaCore.Types.BottomEdge) {