summaryrefslogtreecommitdiff
path: root/modules/bar/popouts/Wrapper.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-13 11:25:11 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-13 11:25:11 +1000
commita57dd9343a2643f73f3994dc230b824617f89ecf (patch)
tree4b36f90728ebd14b4e85ec6c3d69a28dd907c952 /modules/bar/popouts/Wrapper.qml
parentnetwork: fix undef errors (diff)
downloadcaelestia-shell-a57dd9343a2643f73f3994dc230b824617f89ecf.tar.gz
caelestia-shell-a57dd9343a2643f73f3994dc230b824617f89ecf.tar.bz2
caelestia-shell-a57dd9343a2643f73f3994dc230b824617f89ecf.zip
popouts/tray: better interaction
Not exclusive when on first layer of submenus Closes #610
Diffstat (limited to 'modules/bar/popouts/Wrapper.qml')
-rw-r--r--modules/bar/popouts/Wrapper.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/bar/popouts/Wrapper.qml b/modules/bar/popouts/Wrapper.qml
index 20f4c5b..4be47e4 100644
--- a/modules/bar/popouts/Wrapper.qml
+++ b/modules/bar/popouts/Wrapper.qml
@@ -17,6 +17,7 @@ Item {
readonly property real nonAnimWidth: x > 0 || hasCurrent ? children.find(c => c.shouldBeActive)?.implicitWidth ?? content.implicitWidth : 0
readonly property real nonAnimHeight: children.find(c => c.shouldBeActive)?.implicitHeight ?? content.implicitHeight
+ readonly property Item current: content.item?.current ?? null
property string currentName
property real currentCenter