mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-20 18:50:15 +03:00
fix #772,improve shadows behavior for solid panels
This commit is contained in:
parent
c904236847
commit
3ca45d0eaa
@ -67,7 +67,7 @@ DragDrop.DropArea {
|
||||
|
||||
return (visibilityManager.panelIsBiggerFromIconSize && (zoomFactor === 1.0)
|
||||
&& (dock.visibility.mode === Latte.Dock.AlwaysVisible || dock.visibility.mode === Latte.Dock.WindowsGoBelow)
|
||||
&& (plasmoid.configuration.panelPosition === Latte.Dock.Justify) && !root.solidPanel);
|
||||
&& (plasmoid.configuration.panelPosition === Latte.Dock.Justify) && !(root.solidPanel && panelShadowsActive));
|
||||
}
|
||||
|
||||
property bool blurEnabled: plasmoid.configuration.blurEnabled && !root.forceTransparentPanel
|
||||
@ -152,7 +152,7 @@ DragDrop.DropArea {
|
||||
property bool panelShadowsActive: (( (plasmoid.configuration.panelShadows && !root.backgroundOnlyOnMaximized)
|
||||
|| (plasmoid.configuration.panelShadows && root.backgroundOnlyOnMaximized && !root.forceTransparentPanel))
|
||||
&& !(disablePanelShadowMaximized && windowsModel.hasMaximizedWindow))
|
||||
|| (hasExpandedApplet && zoomFactor===1 && plasmoid.configuration.panelSize===100)
|
||||
|| (hasExpandedApplet && zoomFactor===1 && plasmoid.configuration.panelSize===100 && !(root.solidPanel && !plasmoid.configuration.panelShadows) )
|
||||
|
||||
|
||||
property int appShadowOpacity: (plasmoid.configuration.shadowOpacity/100) * 255
|
||||
|
Loading…
x
Reference in New Issue
Block a user