diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-10 13:46:05 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-10 13:46:05 +1000 |
| commit | 1bd92b47406b352c72a54ca56e3b29ea5dfb5402 (patch) | |
| tree | 5002dd2e5bc31d3a2a02ef59b2a0938335c5c846 /modules/bar/BarWrapper.qml | |
| parent | readme: update for new options (diff) | |
| download | caelestia-shell-1bd92b47406b352c72a54ca56e3b29ea5dfb5402.tar.gz caelestia-shell-1bd92b47406b352c72a54ca56e3b29ea5dfb5402.tar.bz2 caelestia-shell-1bd92b47406b352c72a54ca56e3b29ea5dfb5402.zip | |
bar: some internal fixes
Diffstat (limited to 'modules/bar/BarWrapper.qml')
| -rw-r--r-- | modules/bar/BarWrapper.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/bar/BarWrapper.qml b/modules/bar/BarWrapper.qml index 698761d..7e5415c 100644 --- a/modules/bar/BarWrapper.qml +++ b/modules/bar/BarWrapper.qml @@ -13,7 +13,7 @@ Item { required property PersistentProperties visibilities required property BarPopouts.Wrapper popouts - readonly property int exclusiveZone: Config.bar.persistent || (visibilities.bar && !isHovered) ? content.implicitWidth : Config.border.thickness + readonly property int exclusiveZone: Config.bar.persistent || visibilities.bar ? content.implicitWidth : Config.border.thickness property bool isHovered function checkPopout(y: real): void { @@ -26,7 +26,7 @@ Item { states: State { name: "visible" - when: Config.bar.persistent || root.visibilities.bar + when: Config.bar.persistent || root.visibilities.bar || root.isHovered PropertyChanges { root.implicitWidth: content.implicitWidth @@ -63,7 +63,7 @@ Item { Loader { id: content - Component.onCompleted: active = Qt.binding(() => root.visibilities.bar || root.visible) + Component.onCompleted: active = Qt.binding(() => Config.bar.persistent || root.visibilities.bar || root.isHovered || root.visible) anchors.top: parent.top anchors.bottom: parent.bottom |