From 8ec454306fcf2d809e0fdbad4db1d865ab40b4f8 Mon Sep 17 00:00:00 2001 From: zach Date: Tue, 18 Aug 2026 00:47:16 +0200 Subject: [PATCH] fix popout jitter due to height changes --- Modules/Bar/Popouts/Content.qml | 8 ++++---- Modules/Bar/Popouts/Wrapper.qml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/Bar/Popouts/Content.qml b/Modules/Bar/Popouts/Content.qml index 555b9d9..f0707d3 100644 --- a/Modules/Bar/Popouts/Content.qml +++ b/Modules/Bar/Popouts/Content.qml @@ -96,10 +96,10 @@ Item { readonly property bool shouldBeActive: root.popouts.currentName === name active: false - // anchors.horizontalCenter: parent.horizontalCenter - // anchors.top: parent.top - // anchors.topMargin: 5 - anchors.centerIn: parent + anchors.centerIn: opacity === 1 ? undefined : parent + anchors.horizontalCenter: parent.horizontalCenter + anchors.top: opacity === 1 ? parent.top : undefined + anchors.topMargin: 5 opacity: 0 scale: 0.8 diff --git a/Modules/Bar/Popouts/Wrapper.qml b/Modules/Bar/Popouts/Wrapper.qml index 99f443c..ad1ff84 100644 --- a/Modules/Bar/Popouts/Wrapper.qml +++ b/Modules/Bar/Popouts/Wrapper.qml @@ -54,7 +54,7 @@ Item { Comp { id: content - anchors.centerIn: parent + anchors.fill: parent shouldBeActive: root.hasCurrent sourceComponent: Content {