Browse Source

qml: use paintedWidth/paintedHeight for sizing the shadow in ArtworkInfoWidget

pull/162/head
Fatih Uzunoglu 3 years ago
committed by Jean-Baptiste Kempf
parent
commit
7c8ae8293d
  1. 4
      modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml

4
modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml

@ -114,7 +114,9 @@ AbstractButton {
color: theme.bg.primary
Widgets.DoubleShadow {
anchors.fill: parent
anchors.centerIn: cover
width: cover.paintedWidth
height: cover.paintedHeight
primaryBlurRadius: VLCStyle.dp(3, VLCStyle.scale)
primaryVerticalOffset: VLCStyle.dp(1, VLCStyle.scale)

Loading…
Cancel
Save