@ -95,6 +95,7 @@ DragDrop.DropArea {
: height * ( plasmoid . configuration . maxLength / 100 )
property int panelEdgeSpacing: iconSize / 3
property int totalPanelEdgeSpacing: 0 / / t h i s i s s e t b y P a n e l B o x
/ / F I X M E : t h i s i s n o t n e e d e d a n y m o r e p r o b a b l y
property int previousAllTasks: - 1 / / i s u s e d t o f o r b i t u p d a t e A u t o m a t i c I c o n S i z e w h e n h o v e r i n g
property int realSize: iconSize + iconMargin
@ -103,6 +104,7 @@ DragDrop.DropArea {
property int realPanelThickness: 0
/ / t h i s i s s e t b y t h e P a n e l B o x
property int panelMargin: 0
property int panelMarginLength: 0
property int panelShadow: 0 / / s h a d o w s S i z e
property int editShadow: Math . ceil ( iconSize / 5 )
property int themePanelSize: {
@ -501,7 +503,7 @@ DragDrop.DropArea {
}
dndSpacer . opacity = 0 ;
/ / d n d S p a c e r . p a r e n t = r o o t ;
/ / d n d S p a c e r . p a r e n t = r o o t ;
}
onLatteAppletChanged: {
@ -1124,21 +1126,26 @@ DragDrop.DropArea {
sourceComponent: DebugWindow { }
}
/ * L o a d e r {
/ / ! L o a d a s e p i a b a c k g r o u n d i n o r d e r t o a v o i d b l a c k b a c k g r o u n d
Loader {
anchors.fill: parent
active: root . editMode
active: ! Latte . WindowSystem . compositingActive && root . editMode
sourceComponent: Image {
anchors.fill: parent
fillMode: Image . Tile
source: "../icons/sepiaprint.jpg"
}
}
sourceComponent:
} * /
EditModeVisual {
id:editModeVisual
z: root . drawShadowsExternal || ! Latte . WindowSystem . compositingActive ? 1 : 0
z: root . drawShadowsExternal ? 1 : 0
}
Item {
anchors.fill: layoutsContainer
z: root . drawShadowsExternal || ! Latte . WindowSystem . compositingActive ? 0 : 1
z: root . drawShadowsExternal ? 0 : 1
PanelBox { }
}
@ -1207,7 +1214,7 @@ DragDrop.DropArea {
x: {
if ( dock && ( plasmoid . configuration . panelPosition === Latte . Dock . Justify ) && root . isHorizontal
&& ! root . editMode && Latte . WindowSystem . compositingActive && ! root . drawShadowsExternal ) {
&& ! root . editMode && ! root . drawShadowsExternal ) {
return ( ( dock . width / 2 ) - ( root . maxLength / 2 ) )
} else {
if ( ( visibilityManager . inSlidingIn || visibilityManager . inSlidingOut ) && root . isVertical ) {
@ -1224,7 +1231,7 @@ DragDrop.DropArea {
y: {
if ( dock && ( plasmoid . configuration . panelPosition === Latte . Dock . Justify ) && root . isVertical
&& ! root . editMode && Latte . WindowSystem . compositingActive && ! root . drawShadowsExternal ) {
&& ! root . editMode && ! root . drawShadowsExternal ) {
return ( ( dock . height / 2 ) - ( root . maxLength / 2 ) ) ;
} else {
if ( ( visibilityManager . inSlidingIn || visibilityManager . inSlidingOut ) && root . isHorizontal ) {