Correct fillMode setting in PlayerControls

This commit is contained in:
Bart De Vries 2021-05-05 16:57:35 +02:00
parent 55eb616d61
commit ce360f5ff8

View File

@ -50,7 +50,7 @@ Kirigami.Page {
ImageWithFallback {
id: coverImage
imageSource: audio.entry ? audio.entry.cachedImage : "no-image"
imageFillMode: Image.PreserveAspectFill
imageFillMode: Image.PreserveAspectCrop
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: Math.max(0, parent.height - (height + imageLabels.height + 2*parent.textMargin))/2