on xenial help sign in
review fixes
476e7b4Albert Astals Cid
plugins/Dash/AudioProgressBar.qml+3−1
@@ -31,6 +31,8 @@ Item {
31 anchors { left: parent.left; right: parent.right }
31 anchors { left: parent.left; right: parent.right }
32 height: units.dp(6)
32 height: units.dp(6)
33 source: "graphics/music_progress_bg.png"
33 source: "graphics/music_progress_bg.png"
34+ sourceSize.width: width
35+ sourceSize.height: height
34 }
36 }
35
37
36 UbuntuShape {
38 UbuntuShape {
@@ -46,6 +48,6 @@ Item {
46 rightMargin: maxWidth - (maxWidth * root.progress)
48 rightMargin: maxWidth - (maxWidth * root.progress)
47 }
49 }
48 height: units.dp(2)
50 height: units.dp(2)
49− color: UbuntuColors.orange
51+ backgroundColor: UbuntuColors.orange
50 }
52 }
51}
53}
plugins/Dash/CardAudioProgress.qml+1−1
@@ -26,7 +26,7 @@ Item {
26
26
27 property int duration: 0
27 property int duration: 0
28 property url source
28 property url source
29− property color color: Theme.palette.normal.baseText
29+ property color color: theme.palette.normal.baseText
30 readonly property int position: DashAudioPlayer.isCurrentSource(source) ? DashAudioPlayer.position / 1000 : 0
30 readonly property int position: DashAudioPlayer.isCurrentSource(source) ? DashAudioPlayer.position / 1000 : 0
31
31
32 AudioProgressBar {
32 AudioProgressBar {