1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

bar ipc change from show to reveal

This commit is contained in:
bbedward
2025-09-04 15:53:54 -04:00
parent e64124cce3
commit 3c3cffd7b6
6 changed files with 17 additions and 23 deletions

View File

@@ -40,11 +40,8 @@ Rectangle {
StyledText {
text: {
if (SettingsData.use24HourClock) {
return root.currentDate.toLocaleTimeString(Qt.locale(), "HH:mm")
} else {
return root.currentDate.toLocaleTimeString(Qt.locale(), "h:mm AP")
}
const format = SettingsData.use24HourClock ? "HH:mm" : "h:mm AP"
return root.currentDate.toLocaleTimeString(Qt.locale(), format)
}
font.pixelSize: Theme.fontSizeMedium - 1
color: Theme.surfaceText

View File

@@ -112,7 +112,7 @@ PanelWindow {
right: true
}
exclusiveZone: topBarCore.autoHide ? -1 : root.effectiveBarHeight + SettingsData.topBarSpacing - 2 + SettingsData.topBarBottomGap
exclusiveZone: (!SettingsData.topBarVisible || topBarCore.autoHide) ? -1 : root.effectiveBarHeight + SettingsData.topBarSpacing - 2 + SettingsData.topBarBottomGap
mask: Region {
item: topBarMouseArea