mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Keep status bar opaque in convergence mode
In mobile mode the status bar goes transparent when on the homescreen so the wallpaper shows through. That is correct for phone UX. In convergence/desktop mode it clashes with the always- opaque dark dock: the top area looks light while the bottom is dark. Return transparentBackground=false when convergence mode is enabled so the panel stays consistently opaque.
This commit is contained in:
parent
c520a8e960
commit
1c0efb522f
1 changed files with 6 additions and 0 deletions
|
|
@ -83,6 +83,12 @@ Item {
|
|||
return true;
|
||||
}
|
||||
|
||||
// In convergence mode the status bar behaves like a desktop panel:
|
||||
// always opaque so it matches the dock and doesn't let the wallpaper bleed through.
|
||||
if (ShellSettings.Settings.convergenceModeEnabled) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return !containmentItem.showingApp && !containmentItem.fullscreen;
|
||||
}
|
||||
forcedComplementary: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue