fix disabled monochrome contents for no background

--when the user had chosen monochrome contents and had
disabled the panel background totally the case wasnt
activating monochrome contents when needed

(cherry picked from commit fc8a531837)
v0.8
Michail Vourlakos 7 years ago
parent a5a20c0af7
commit d080b9a89f

@ -141,6 +141,8 @@ DragDrop.DropArea {
//has been dropped from the Dock Configuration Window
//property bool smallAutomaticIconJumps: plasmoid.configuration.smallAutomaticIconJumps
property bool smallAutomaticIconJumps: true
property bool userShowPanelBackground: Latte.WindowSystem.compositingActive ? plasmoid.configuration.useThemePanel : true
property bool useThemePanel: noApplets === 0 || !Latte.WindowSystem.compositingActive ?
true : (plasmoid.configuration.useThemePanel || plasmoid.configuration.solidBackgroundForMaximized)
@ -1774,7 +1776,7 @@ DragDrop.DropArea {
property bool isShown: active && !forceSolidPanel
//! when forceSemiTransparentPanel is enabled because of snapped or maximized etc. windows
//! then the colorizer could be enabled for low panel transparency levels (<40%)
&& (!forceSemiTransparentPanel || (forceSemiTransparentPanel && root.panelTransparency<40))
&& (!userShowPanelBackground || !forceSemiTransparentPanel || (forceSemiTransparentPanel && root.panelTransparency<40))
&& !maximizedWindowTitleBarBehavesAsPanelBackground
&& (plasmoid.configuration.solidBackgroundForMaximized || plasmoid.configuration.backgroundOnlyOnMaximized)
&& !root.editMode && Latte.WindowSystem.compositingActive

Loading…
Cancel
Save