Make GlobalDrawer be a sidebar on desktop

This commit is contained in:
Mathis Brüchert 2021-05-23 14:07:34 +00:00
parent 21e9d0b9a7
commit 4342794ac4

View File

@ -45,6 +45,7 @@ Kirigami.ApplicationWindow {
globalDrawer: Kirigami.GlobalDrawer {
isMenu: false
modal: !wideScreen
// make room at the bottom for miniplayer
handle.anchors.bottomMargin: (AudioManager.entry ? (footerLoader.item.contentY == 0 ? miniplayerSize : 0) : 0) + Kirigami.Units.smallSpacing + tabBarActive * tabBarHeight
handleVisible: !AudioManager.entry || footerLoader.item.contentY === 0