diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-07 20:15:41 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-07 20:15:41 +1000 |
| commit | 82756b28664b0f36da9e500a1a9d82112389e1f3 (patch) | |
| tree | e17935cb4b45371b8e95ccca1e6038ad5d06819e /modules/bar/popouts/TrayMenu.qml | |
| parent | popouts: fix bottom glitch (diff) | |
| download | caelestia-shell-82756b28664b0f36da9e500a1a9d82112389e1f3.tar.gz caelestia-shell-82756b28664b0f36da9e500a1a9d82112389e1f3.tar.bz2 caelestia-shell-82756b28664b0f36da9e500a1a9d82112389e1f3.zip | |
popouts: reload tray menu on show
Diffstat (limited to 'modules/bar/popouts/TrayMenu.qml')
| -rw-r--r-- | modules/bar/popouts/TrayMenu.qml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/bar/popouts/TrayMenu.qml b/modules/bar/popouts/TrayMenu.qml index f7d0928..9b48385 100644 --- a/modules/bar/popouts/TrayMenu.qml +++ b/modules/bar/popouts/TrayMenu.qml @@ -11,6 +11,7 @@ import QtQuick.Controls StackView { id: root + required property Item popouts required property QsMenuHandle trayItem implicitWidth: currentItem.implicitWidth @@ -27,9 +28,7 @@ StackView { component Anim: Transition { NumberAnimation { - duration: 0 // Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard + duration: 0 } } @@ -114,8 +113,10 @@ StackView { handle: entry, isSubMenu: true })); - else + else { item.modelData.triggered(); + root.popouts.hasCurrent = false; + } } } |