@ -93,7 +93,7 @@ Item{
/ / ! g i v e s o m e m o r e s p a c e w h e n i t e m s s h a d o w s a r e e n a b l e d a n d e x t r e m e l y b i g
/ / ! g i v e s o m e m o r e s p a c e w h e n i t e m s s h a d o w s a r e e n a b l e d a n d e x t r e m e l y b i g
if ( root . enableShadows && root . maxThickMargin < shadowMaxNeededMargin ) {
if ( root . enableShadows && root . maxThickMargin < shadowMaxNeededMargin ) {
return shadowMaxNeededMargin - root . maxThickMargin ;
return shadowMaxNeededMargin - root . maxThickMargin ;
}
}
return 0 ;
return 0 ;
@ -575,8 +575,7 @@ Item{
/ / t h e s h a d o w s s i z e m u s t b e r e m o v e d f r o m t h e m a s k A r e a
/ / t h e s h a d o w s s i z e m u s t b e r e m o v e d f r o m t h e m a s k A r e a
/ / b e f o r e u p d a t i n g t h e l o c a l D o c k G e o m e t r y
/ / b e f o r e u p d a t i n g t h e l o c a l D o c k G e o m e t r y
if ( ( ! latteView . behaveAsPlasmaPanel || root . editMode )
if ( ! latteView . behaveAsPlasmaPanel || root . editMode ) {
&& Latte . WindowSystem . compositingActive ) {
var fixedThickness = root . editMode ? root . iconSize + root.thickMargins : root . realPanelThickness ;
var fixedThickness = root . editMode ? root . iconSize + root.thickMargins : root . realPanelThickness ;
if ( plasmoid . formFactor === PlasmaCore . Types . Vertical ) {
if ( plasmoid . formFactor === PlasmaCore . Types . Vertical ) {
@ -600,7 +599,6 @@ Item{
}
}
/ / c o n s o l e . l o g ( " u p d a t e g e o m e t r y : : : " + t e m p G e o m e t r y ) ;
/ / c o n s o l e . l o g ( " u p d a t e g e o m e t r y : : : " + t e m p G e o m e t r y ) ;
latteView . localGeometry = tempGeometry ;
latteView . localGeometry = tempGeometry ;
}
}
}
}