From 89c41609509b3c2e84baa325cef0ef0349f72063 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 9 Mar 2019 23:18:05 +0200 Subject: [PATCH] increase length of config wins inner shadow --- .../package/contents/configuration/LatteDockConfiguration.qml | 4 ++-- .../configuration/LatteDockSecondaryConfiguration.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/package/contents/configuration/LatteDockConfiguration.qml b/shell/package/contents/configuration/LatteDockConfiguration.qml index 4eb2b96ae..3f668f926 100644 --- a/shell/package/contents/configuration/LatteDockConfiguration.qml +++ b/shell/package/contents/configuration/LatteDockConfiguration.qml @@ -574,8 +574,8 @@ FocusScope { //! show an inner shadow similar to Latte::View editShadow in order to //! not break the visual user experience LatteExtraControls.InnerShadow{ - width: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? dialog.width : shadowSize - height: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? shadowSize : dialog.height + width: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? dialog.width + 2*shadowSize : shadowSize + height: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? shadowSize : dialog.height + 2*shadowSize shadowSize: latteView.effects.editShadow shadowOpacity: Math.max(0.35, maxOpacity) diff --git a/shell/package/contents/configuration/LatteDockSecondaryConfiguration.qml b/shell/package/contents/configuration/LatteDockSecondaryConfiguration.qml index 97c7c7852..a3dc4dade 100644 --- a/shell/package/contents/configuration/LatteDockSecondaryConfiguration.qml +++ b/shell/package/contents/configuration/LatteDockSecondaryConfiguration.qml @@ -75,8 +75,8 @@ FocusScope { //! show an inner shadow similar to Latte::View editShadow in order to //! not break the visual user experience LatteExtraControls.InnerShadow{ - width: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? dialog.width : shadowSize - height: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? shadowSize : dialog.height + width: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? dialog.width + 2*shadowSize : shadowSize + height: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? shadowSize : dialog.height + 2*shadowSize shadowSize: latteView.effects.editShadow shadowOpacity: Math.max(0.35, maxOpacity)