mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
bar: with auto-hide on, the bar starts hidden
This commit is contained in:
@@ -46,7 +46,7 @@ PanelWindow {
|
||||
readonly property bool autoHide: Settings.data.bar.displayMode === "auto_hide"
|
||||
readonly property int hideDelay: Settings.data.bar.autoHideDelay || 500
|
||||
readonly property int showDelay: Settings.data.bar.autoShowDelay || 100
|
||||
property bool isHidden: false
|
||||
property bool isHidden: autoHide
|
||||
|
||||
// Hover tracking
|
||||
property bool barHovered: false
|
||||
|
||||
@@ -377,7 +377,7 @@ PanelWindow {
|
||||
|
||||
// Auto-hide properties (read by AllBackgrounds for background fade)
|
||||
readonly property bool autoHide: Settings.data.bar.displayMode === "auto_hide"
|
||||
property bool isHidden: false
|
||||
property bool isHidden: autoHide
|
||||
|
||||
Connections {
|
||||
target: BarService
|
||||
|
||||
@@ -95,7 +95,7 @@ Singleton {
|
||||
target: Settings.data.bar
|
||||
function onDisplayModeChanged() {
|
||||
Logger.d("BarService", "Display mode changed to:", Settings.data.bar.displayMode);
|
||||
|
||||
|
||||
if (Settings.data.bar.displayMode === "auto_hide") {
|
||||
// When switching to auto_hide mode, hide the bar on all screens
|
||||
for (let screenName in screenAutoHideState) {
|
||||
|
||||
Reference in New Issue
Block a user