Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
df2eb795
Commit
df2eb795
authored
Feb 21, 2022
by
Devin Lin
🎨
Browse files
navigationpanel: Make opaque when keyboard is open
Addresses
#163
parent
48899f6e
Pipeline
#140434
passed with stages
in 1 minute and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
containments/taskpanel/package/contents/ui/NavigationPanelComponent.qml
View file @
df2eb795
...
...
@@ -18,14 +18,14 @@ MobileShell.NavigationPanel {
property
bool
appIsShown
:
!
plasmoid
.
nativeInterface
.
allMinimized
// background is:
// - opaque if an app is shown
// - opaque if an app is shown
or vkbd is shown
// - translucent if the task switcher is open
// - transparent if on the homescreen
backgroundColor
:
{
if
(
root
.
taskSwitcher
.
visible
)
{
return
Qt
.
rgba
(
0
,
0
,
0
,
0.1
);
}
else
{
return
appIsShown
?
PlasmaCore
.
ColorScope
.
backgroundColor
:
"
transparent
"
;
return
(
MobileShell
.
KWinVirtualKeyboard
.
visible
||
appIsShown
)
?
PlasmaCore
.
ColorScope
.
backgroundColor
:
"
transparent
"
;
}
}
foregroundColorGroup
:
(
!
root
.
taskSwitcher
.
visible
&&
appIsShown
)
?
PlasmaCore
.
Theme
.
NormalColorGroup
:
PlasmaCore
.
Theme
.
ComplementaryColorGroup
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment