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
|
isMenu: false
|
||||||
// make room at the bottom for miniplayer
|
// make room at the bottom for miniplayer
|
||||||
handle.anchors.bottomMargin: ( audio.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + Kirigami.Units.smallSpacing
|
handle.anchors.bottomMargin: ( audio.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + Kirigami.Units.smallSpacing
|
||||||
|
handleVisible: !audio.entry || footerLoader.item.contentY == 0
|
||||||
actions: [
|
actions: [
|
||||||
Kirigami.PagePoolAction {
|
Kirigami.PagePoolAction {
|
||||||
text: i18n("Queue")
|
text: i18n("Queue")
|
||||||
|
@ -82,6 +83,7 @@ Kirigami.ApplicationWindow {
|
||||||
id: contextDrawer
|
id: contextDrawer
|
||||||
// make room at the bottom for miniplayer
|
// make room at the bottom for miniplayer
|
||||||
handle.anchors.bottomMargin: ( audio.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + Kirigami.Units.smallSpacing
|
handle.anchors.bottomMargin: ( audio.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + Kirigami.Units.smallSpacing
|
||||||
|
handleVisible: !audio.entry || footerLoader.item.contentY == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioManager {
|
AudioManager {
|
||||||
|
|
Loading…
Reference in New Issue