Skip to content
GitLab
Menu
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
5717c71a
Commit
5717c71a
authored
Sep 18, 2019
by
Marco Martin
Browse files
use the window color to dim
parent
77ae2a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
containments/panel/package/contents/ui/SlidingPanel.qml
View file @
5717c71a
...
...
@@ -31,7 +31,7 @@ NanoShell.FullScreenPanel {
property
bool
userInteracting
:
false
property
bool
expanded
:
false
color
:
"
transparent
"
color
:
Qt
.
rgba
(
0
,
0
,
0
,
0.6
*
Math
.
min
(
1
,
offset
/
contentArea
.
height
))
property
alias
contents
:
contentArea
.
data
property
int
headerHeight
...
...
@@ -111,11 +111,6 @@ NanoShell.FullScreenPanel {
to
:
contentArea
.
height
}
Rectangle
{
anchors.fill
:
parent
color
:
Qt
.
rgba
(
0
,
0
,
0
,
0.6
*
Math
.
min
(
1
,
offset
/
contentArea
.
height
))
}
PlasmaCore.ColorScope
{
anchors.fill
:
parent
y
:
Math
.
min
(
0
,
-
height
+
window
.
offset
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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