summaryrefslogtreecommitdiff
path: root/modules/bar
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-10 13:46:05 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-10 13:46:05 +1000
commit1bd92b47406b352c72a54ca56e3b29ea5dfb5402 (patch)
tree5002dd2e5bc31d3a2a02ef59b2a0938335c5c846 /modules/bar
parentreadme: update for new options (diff)
downloadcaelestia-shell-1bd92b47406b352c72a54ca56e3b29ea5dfb5402.tar.gz
caelestia-shell-1bd92b47406b352c72a54ca56e3b29ea5dfb5402.tar.bz2
caelestia-shell-1bd92b47406b352c72a54ca56e3b29ea5dfb5402.zip
bar: some internal fixes
Diffstat (limited to 'modules/bar')
-rw-r--r--modules/bar/BarWrapper.qml6
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