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

Add support for default-session.json

This commit is contained in:
bbedward
2025-09-07 19:41:57 -04:00
parent 072cbf284e
commit 7d88f37f90
2 changed files with 37 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ Rectangle {
const relativeX = globalPos.x - screenX;
menuAnchor.menu = trayItem.menu;
menuAnchor.anchor.window = parentWindow;
menuAnchor.anchor.rect = Qt.rect(relativeX, Theme.barHeight + Theme.spacingS, parent.width, 1);
menuAnchor.anchor.rect = Qt.rect(relativeX, parentWindow.effectiveBarHeight + SettingsData.topBarSpacing, parent.width, 1);
menuAnchor.open();
}
}