mirror of https://github.com/KDE/kasts.git
Make drawer handles disappear when PlayerControls are opened
This commit is contained in:
parent
6eca639ce4
commit
4edacbc5e8
|
@ -33,6 +33,7 @@ Kirigami.ApplicationWindow {
|
|||
isMenu: false
|
||||
// make room at the bottom for miniplayer
|
||||
handle.anchors.bottomMargin: ( audio.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + Kirigami.Units.smallSpacing
|
||||
handleVisible: !audio.entry || footerLoader.item.contentY == 0
|
||||
actions: [
|
||||
Kirigami.PagePoolAction {
|
||||
text: i18n("Queue")
|
||||
|
@ -82,6 +83,7 @@ Kirigami.ApplicationWindow {
|
|||
id: contextDrawer
|
||||
// make room at the bottom for miniplayer
|
||||
handle.anchors.bottomMargin: ( audio.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + Kirigami.Units.smallSpacing
|
||||
handleVisible: !audio.entry || footerLoader.item.contentY == 0
|
||||
}
|
||||
|
||||
AudioManager {
|
||||
|
|
Loading…
Reference in New Issue