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
Multimedia
Elisa
Commits
9809d109
Commit
9809d109
authored
Nov 15, 2022
by
Nate Graham
Browse files
Improve delegate drop shadow appearance
(cherry picked from commit
377144a9
)
parent
16671865
Pipeline
#268439
passed with stage
in 4 minutes and 53 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/qml/GridBrowserDelegate.qml
View file @
9809d109
...
...
@@ -156,8 +156,9 @@ FocusScope {
layer.enabled
:
!
coverImage
.
usingFallback
&&
!
Kirigami
.
Settings
.
isMobile
// don't use drop shadow on mobile
layer.effect
:
DropShadow
{
source
:
coverImage
radius
:
10
radius
:
16
samples
:
(
radius
*
2
)
+
1
cached
:
true
color
:
myPalette
.
shadow
}
}
...
...
src/qml/ListBrowserDelegate.qml
View file @
9809d109
...
...
@@ -137,9 +137,9 @@ FocusScope {
layer.effect
:
DropShadow
{
source
:
coverImageElement
radius
:
1
0
radius
:
8
samples
:
(
radius
*
2
)
+
1
cached
:
true
color
:
myPalette
.
shadow
}
}
...
...
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