From 041be54c69b1c9a2fe5eacca7d765a9ccc37aad6 Mon Sep 17 00:00:00 2001 From: ATMDA Date: Sat, 15 Nov 2025 19:31:26 -0500 Subject: controlcenter: animation disappearing glitch fix --- modules/controlcenter/Panes.qml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/controlcenter/Panes.qml b/modules/controlcenter/Panes.qml index 52ad7f2..77b2fd2 100644 --- a/modules/controlcenter/Panes.qml +++ b/modules/controlcenter/Panes.qml @@ -88,15 +88,13 @@ ClippingRectangle { id: loader anchors.fill: parent - clip: true + clip: false asynchronous: true active: { - if (root.session.activeIndex === pane.index) - return true; - - const ly = -layout.y; - const ty = pane.index * root.height; - return ly + root.height > ty && ly < ty + root.height; + // Keep loaders active for current and adjacent panels + // This prevents content from disappearing during panel transitions + const diff = Math.abs(root.session.activeIndex - pane.index); + return diff <= 1; } } } -- cgit v1.2.3-freya