@ -85,6 +85,12 @@ DragDrop.DropArea {
property bool disablePanelShadowMaximized: plasmoid . configuration . disablePanelShadowForMaximized && Latte . WindowSystem . compositingActive
property bool drawShadowsExternal: panelShadowsActive && behaveAsPlasmaPanel && ! visibilityManager . inTempHiding
property bool editMode: editModeVisual . inEditMode
property bool windowIsTouching: dock && dock . visibility && ( dock . visibility . existsWindowMaximized || dock . visibility . existsWindowSnapped || hasExpandedApplet )
property bool forceSemiTransparentPanel: ( ( ! plasmoid . configuration . solidBackgroundForMaximized && plasmoid . configuration . backgroundOnlyOnMaximized && windowIsTouching )
|| ( plasmoid . configuration . solidBackgroundForMaximized && ! plasmoid . configuration . backgroundOnlyOnMaximized && ! windowIsTouching ) )
&& Latte . WindowSystem . compositingActive
property bool forceSolidPanel: plasmoid . configuration . solidBackgroundForMaximized && dock && dock . visibility
&& Latte . WindowSystem . compositingActive
&& ( dock . visibility . existsWindowMaximized || dock . visibility . existsWindowSnapped || hasExpandedApplet )
@ -93,7 +99,7 @@ DragDrop.DropArea {
&& Latte . WindowSystem . compositingActive
&& ! ( hasExpandedApplet && zoomFactor === 1 && plasmoid . configuration . panelSize === 100 )
property bool forceColorizer: plasmoid. configuration . colorizeTransparentPanels
property bool forceColorizer: Latte. WindowSystem . compositingActive && plasmoid. configuration . colorizeTransparentPanels
readonly property bool hasExpandedApplet: plasmoid . applets . some ( function ( item ) {
return ( item . status >= PlasmaCore . Types . NeedsAttentionStatus && item . pluginName !== root . plasmoidName
@ -1744,7 +1750,12 @@ DragDrop.DropArea {
readonly property real themeBackgroundColorLuma: 0.2126 * backColorRs + 0.7152 * backColorGs + 0.0722 * backColorBs
readonly property real themeTextColorLuma: 0.2126 * textColorRs + 0.7152 * textColorGs + 0.0722 * textColorBs
property bool isShown: active && ! forceSolidPanel && plasmoid . configuration . solidBackgroundForMaximized && ! root . editMode && Latte . WindowSystem . compositingActive
property bool isShown: active && ! forceSolidPanel
/ / ! w h e n f o r c e S e m i T r a n s p a r e n t P a n e l i s e n a b l e d b e c a u s e o f s n a p p e d o r m a x i m i z e d e t c . w i n d o w s
/ / ! t h e n t h e c o l o r i z e r c o u l d b e e n a b l e d f o r l o w p a n e l t r a n s p a r e n c y l e v e l s ( < 4 0 % )
&& ( ! forceSemiTransparentPanel || ( forceSemiTransparentPanel && root . panelTransparency < 40 ) )
&& ( plasmoid . configuration . solidBackgroundForMaximized || plasmoid . configuration . backgroundOnlyOnMaximized )
&& ! root . editMode && Latte . WindowSystem . compositingActive
property real currentBackgroundLuminas: - 1000