summaryrefslogtreecommitdiff
path: root/modules/dashboard/Dash.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-05 16:52:33 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-05 16:52:33 +1000
commitb8a22eaa28f5ce936d17d38043c9cf00fdf95b07 (patch)
tree43d49f9fb4e6a4620b5c980c63b1b10f5639be7c /modules/dashboard/Dash.qml
parentdashboard: media player selector elide text (diff)
downloadcaelestia-shell-b8a22eaa28f5ce936d17d38043c9cf00fdf95b07.tar.gz
caelestia-shell-b8a22eaa28f5ce936d17d38043c9cf00fdf95b07.tar.bz2
caelestia-shell-b8a22eaa28f5ce936d17d38043c9cf00fdf95b07.zip
dashboard: dont update pane if not current
Diffstat (limited to 'modules/dashboard/Dash.qml')
-rw-r--r--modules/dashboard/Dash.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/dashboard/Dash.qml b/modules/dashboard/Dash.qml
index d5f3e34..eaf4344 100644
--- a/modules/dashboard/Dash.qml
+++ b/modules/dashboard/Dash.qml
@@ -7,6 +7,8 @@ import QtQuick.Layouts
GridLayout {
id: root
+ required property bool shouldUpdate
+
rowSpacing: Appearance.spacing.normal
columnSpacing: Appearance.spacing.normal
@@ -72,6 +74,8 @@ GridLayout {
Media {
id: media
+
+ shouldUpdate: root.shouldUpdate
}
}