diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-03 18:59:05 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-03 18:59:05 +1000 |
| commit | fe4e72eab3170c5f888b14251d15e51b2a5adf9c (patch) | |
| tree | b5badd0b7b08b6831e51ae225c6bb44dc04051c4 /modules/launcher | |
| parent | dcontent: impl bt device details (diff) | |
| download | caelestia-shell-fe4e72eab3170c5f888b14251d15e51b2a5adf9c.tar.gz caelestia-shell-fe4e72eab3170c5f888b14251d15e51b2a5adf9c.tar.bz2 caelestia-shell-fe4e72eab3170c5f888b14251d15e51b2a5adf9c.zip | |
internal: better shadow
Diffstat (limited to 'modules/launcher')
| -rw-r--r-- | modules/launcher/items/WallpaperItem.qml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/launcher/items/WallpaperItem.qml b/modules/launcher/items/WallpaperItem.qml index e3d84d4..401e852 100644 --- a/modules/launcher/items/WallpaperItem.qml +++ b/modules/launcher/items/WallpaperItem.qml @@ -4,7 +4,6 @@ import qs.config import Quickshell import Quickshell.Widgets import QtQuick -import QtQuick.Effects StyledRect { id: root @@ -33,13 +32,11 @@ StyledRect { } } - RectangularShadow { - opacity: root.PathView.isCurrentItem ? 0.7 : 0 + Elevation { anchors.fill: image radius: image.radius - color: Colours.palette.m3shadow - blur: 10 - spread: 3 + opacity: root.PathView.isCurrentItem ? 1 : 0 + level: 4 Behavior on opacity { Anim {} |