summaryrefslogtreecommitdiff
path: root/modules/controlcenter/Panes.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-16 01:55:20 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-16 01:59:20 +1100
commit33c1c694de3c214306f72c16f7581cd93886dc6b (patch)
treec7e72db99b3b3f0682343131c8bbf0c6268ee655 /modules/controlcenter/Panes.qml
parentinternal: no async loaders (diff)
downloadcaelestia-shell-33c1c694de3c214306f72c16f7581cd93886dc6b.tar.gz
caelestia-shell-33c1c694de3c214306f72c16f7581cd93886dc6b.tar.bz2
caelestia-shell-33c1c694de3c214306f72c16f7581cd93886dc6b.zip
internal: fix errors due to sync loaders
Diffstat (limited to 'modules/controlcenter/Panes.qml')
-rw-r--r--modules/controlcenter/Panes.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/controlcenter/Panes.qml b/modules/controlcenter/Panes.qml
index eba7de1..c239b91 100644
--- a/modules/controlcenter/Panes.qml
+++ b/modules/controlcenter/Panes.qml
@@ -108,7 +108,7 @@ ClippingRectangle {
const diff = Math.abs(root.session.activeIndex - pane.paneIndex);
const isActivePane = diff === 0;
let shouldBeActive = false;
-
+
if (!layout.initialOpeningComplete) {
shouldBeActive = isActivePane;
} else {
@@ -120,7 +120,7 @@ ClippingRectangle {
shouldBeActive = layout.animationComplete;
}
}
-
+
loader.active = shouldBeActive;
}
@@ -132,7 +132,7 @@ ClippingRectangle {
active: false
Component.onCompleted: {
- pane.updateActive();
+ Qt.callLater(pane.updateActive);
}
onActiveChanged: {