mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-13 05:17:48 +03:00
improve option "Hide Background when not needed"
--when option "Hide Background when not needed" is used on its own activates or not the forceTransparentPanel code path. So when that option is enabled and any window is touching the Latte::View then the force transparency codepath should be disabled. In such case the user background settings are applied. BUG:414071 FIXED-IN:0.9.5
This commit is contained in:
parent
4b74474157
commit
63ed290593
@ -143,7 +143,7 @@ Item {
|
||||
&& Latte.WindowSystem.compositingActive
|
||||
&& !inConfigureAppletsMode
|
||||
&& !forceSolidPanel
|
||||
&& !(windowColors === Latte.Types.TouchingWindowColors && latteView.windowsTracker.currentScreen.activeWindowTouching)
|
||||
&& !latteView.windowsTracker.currentScreen.existsWindowTouching
|
||||
&& !(windowColors === Latte.Types.ActiveWindowColors && selectedWindowsTracker.existsWindowActive)
|
||||
|
||||
property bool forcePanelForBusyBackground: userShowPanelBackground && (root.themeColors === Latte.Types.SmartThemeColors)
|
||||
|
@ -825,7 +825,7 @@ PlasmaComponents.Page {
|
||||
enabled: Latte.WindowSystem.compositingActive
|
||||
|
||||
PlasmaComponents.Label {
|
||||
text: plasmoid.configuration.backgroundOnlyOnMaximized ?
|
||||
text: plasmoid.configuration.backgroundOnlyOnMaximized && plasmoid.configuration.solidBackgroundForMaximized ?
|
||||
i18nc("opacity when desktop background is busy from contrast point of view","Busy Opacity") : i18n("Opacity")
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
enabled: transparencySlider.enabled
|
||||
|
Loading…
Reference in New Issue
Block a user