From b8a22eaa28f5ce936d17d38043c9cf00fdf95b07 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 5 Jun 2025 16:52:33 +1000 Subject: dashboard: dont update pane if not current --- modules/dashboard/Content.qml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'modules/dashboard/Content.qml') 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 { -- cgit v1.2.3-freya