mirror of https://github.com/KDE/kasts.git
Fix bottom margin for notifications now that floating buttons are gone
This commit is contained in:
parent
e16c40d57c
commit
ad5213176e
|
@ -25,7 +25,7 @@ Kirigami.ApplicationWindow {
|
||||||
property var miniplayerSize: Math.round(Kirigami.Units.gridUnit * 3) + Kirigami.Units.gridUnit / 6
|
property var miniplayerSize: Math.round(Kirigami.Units.gridUnit * 3) + Kirigami.Units.gridUnit / 6
|
||||||
property int bottomMessageSpacing: {
|
property int bottomMessageSpacing: {
|
||||||
if (Kirigami.Settings.isMobile) {
|
if (Kirigami.Settings.isMobile) {
|
||||||
return Kirigami.Units.largeSpacing + ( AudioManager.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + (root.footer.height);
|
return Kirigami.Units.largeSpacing + ( AudioManager.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 )
|
||||||
} else {
|
} else {
|
||||||
return Kirigami.Units.largeSpacing * 2;
|
return Kirigami.Units.largeSpacing * 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue