increase length of config wins inner shadow

pull/5/head
Michail Vourlakos 6 years ago
parent cab2055279
commit 89c4160950

@ -574,8 +574,8 @@ FocusScope {
//! show an inner shadow similar to Latte::View editShadow in order to //! show an inner shadow similar to Latte::View editShadow in order to
//! not break the visual user experience //! not break the visual user experience
LatteExtraControls.InnerShadow{ LatteExtraControls.InnerShadow{
width: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? dialog.width : shadowSize width: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? dialog.width + 2*shadowSize : shadowSize
height: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? shadowSize : dialog.height height: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? shadowSize : dialog.height + 2*shadowSize
shadowSize: latteView.effects.editShadow shadowSize: latteView.effects.editShadow
shadowOpacity: Math.max(0.35, maxOpacity) shadowOpacity: Math.max(0.35, maxOpacity)

@ -75,8 +75,8 @@ FocusScope {
//! show an inner shadow similar to Latte::View editShadow in order to //! show an inner shadow similar to Latte::View editShadow in order to
//! not break the visual user experience //! not break the visual user experience
LatteExtraControls.InnerShadow{ LatteExtraControls.InnerShadow{
width: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? dialog.width : shadowSize width: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? dialog.width + 2*shadowSize : shadowSize
height: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? shadowSize : dialog.height height: plasmoid.formFactor === PlasmaCore.Types.Horizontal ? shadowSize : dialog.height + 2*shadowSize
shadowSize: latteView.effects.editShadow shadowSize: latteView.effects.editShadow
shadowOpacity: Math.max(0.35, maxOpacity) shadowOpacity: Math.max(0.35, maxOpacity)

Loading…
Cancel
Save