unhide bar on panel visibilities
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user