summaryrefslogtreecommitdiff
path: root/modules/dashboard/Content.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dashboard/Content.qml')
-rw-r--r--modules/dashboard/Content.qml12
1 files changed, 10 insertions, 2 deletions
diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml
index 5b88f9b..bd613e7 100644
--- a/modules/dashboard/Content.qml
+++ b/modules/dashboard/Content.qml
@@ -51,17 +51,25 @@ Item {
currentIndex: tabs.currentIndex
ClippingWrapperRectangle {
+ id: dash
+
radius: Appearance.rounding.normal
color: "transparent"
- Dash {}
+ Dash {
+ shouldUpdate: visible && dash.ListView.isCurrentItem
+ }
}
ClippingWrapperRectangle {
+ id: media
+
radius: Appearance.rounding.normal
color: "transparent"
- Media {}
+ Media {
+ shouldUpdate: visible && media.ListView.isCurrentItem
+ }
}
ClippingWrapperRectangle {