summaryrefslogtreecommitdiff
path: root/modules/launcher/WallpaperItem.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-24 13:47:45 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-24 13:47:45 +0800
commit4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61 (patch)
treef88ed87462a79518157cd829ade13eff24699b91 /modules/launcher/WallpaperItem.qml
parentinternal: remove padded rect (diff)
downloadcaelestia-shell-4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61.tar.gz
caelestia-shell-4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61.tar.bz2
caelestia-shell-4ca23da8e139deaf4615a39e7e7ffbd7fbd3ab61.zip
internal: fix null errors
Diffstat (limited to 'modules/launcher/WallpaperItem.qml')
-rw-r--r--modules/launcher/WallpaperItem.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/launcher/WallpaperItem.qml b/modules/launcher/WallpaperItem.qml
index fd8ce9d..dbd482e 100644
--- a/modules/launcher/WallpaperItem.qml
+++ b/modules/launcher/WallpaperItem.qml
@@ -13,7 +13,7 @@ StyledRect {
scale: 0.5
opacity: 0
- z: PathView.z
+ z: PathView.z ?? 0
Component.onCompleted: {
scale = Qt.binding(() => PathView.isCurrentItem ? 1 : PathView.onPath ? 0.8 : 0);