mirror of https://github.com/KDE/kasts.git
Small fix of minimized player getting covered by 1 pixel
This commit is contained in:
parent
8c8a3a91d6
commit
eb13598dd4
|
@ -16,10 +16,10 @@ import org.kde.kirigami 2.12 as Kirigami
|
|||
import org.kde.kasts 1.0
|
||||
|
||||
Item {
|
||||
property int miniplayerheight: Math.round(Kirigami.Units.gridUnit * 3)
|
||||
property int miniplayerheight: Kirigami.Units.gridUnit * 3
|
||||
property int progressbarheight: Kirigami.Units.gridUnit / 6
|
||||
property int buttonsize: Kirigami.Units.gridUnit * 1.5
|
||||
height: miniplayerheight
|
||||
height: miniplayerheight + progressbarheight
|
||||
|
||||
visible: AudioManager.entry
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ Kirigami.ApplicationWindow {
|
|||
minimumWidth: Kirigami.Units.gridUnit * 17
|
||||
minimumHeight: Kirigami.Units.gridUnit * 20
|
||||
|
||||
property var miniplayerSize: Math.round(Kirigami.Units.gridUnit * 3) + Kirigami.Units.gridUnit / 6
|
||||
property var miniplayerSize: Kirigami.Units.gridUnit * 3 + Kirigami.Units.gridUnit / 6
|
||||
property int bottomMessageSpacing: {
|
||||
if (Kirigami.Settings.isMobile) {
|
||||
return Kirigami.Units.largeSpacing + ( AudioManager.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 )
|
||||
|
@ -198,7 +198,7 @@ Kirigami.ApplicationWindow {
|
|||
|
||||
// create space at the bottom to show miniplayer without it hiding stuff
|
||||
// underneath
|
||||
pageStack.anchors.bottomMargin: (AudioManager.entry && Kirigami.Settings.isMobile) ? miniplayerSize : 0
|
||||
pageStack.anchors.bottomMargin: (AudioManager.entry && Kirigami.Settings.isMobile) ? miniplayerSize + 1 : 0
|
||||
|
||||
Loader {
|
||||
id: footerLoader
|
||||
|
|
Loading…
Reference in New Issue