unhide bar on panel visibilities

This commit is contained in:
Zacharias-Brohn
2026-02-18 12:09:03 +01:00
parent b3bb593b54
commit e551b6bbf1
7 changed files with 44 additions and 22 deletions
+6
View File
@@ -223,6 +223,10 @@ CustomMouseArea {
}
}
function onSidebarChanged() {
// root.visibilities.bar = root.visibilities.sidebar
}
function onDashboardChanged() {
if (root.visibilities.dashboard) {
// Dashboard became visible, immediately check if this should be shortcut mode
@@ -230,9 +234,11 @@ CustomMouseArea {
if (!inDashboardArea) {
root.dashboardShortcutActive = true;
}
// root.visibilities.bar = true;
} else {
// Dashboard hidden, clear shortcut flag
root.dashboardShortcutActive = false;
// root.visibilities.bar = false;
}
}
+4 -1
View File
@@ -29,7 +29,10 @@ Item {
anchors.fill: parent
// anchors.margins: 8
anchors.topMargin: bar.implicitHeight
anchors.topMargin: visibilities.bar ? bar.implicitHeight : 0
Behavior on anchors.topMargin {
Modules.Anim {}
}
Osd.Wrapper {
id: osd