Commit 73e310fa authored by Nate Graham's avatar Nate Graham 🔩

Refactor inline playback position indicator code a tiny bit

parent 36cb165c
......@@ -89,12 +89,10 @@ FocusScope {
anchors.fill: parent
sourceComponent: Rectangle {
property int pos: ElisaApplication.audioPlayer.position
anchors.left: parent.left
color: myPalette.mid
height: playListEntry.height
width: playListEntry.width * (pos/ElisaApplication.audioPlayer.duration)
width: playListEntry.width * (ElisaApplication.audioPlayer.position / ElisaApplication.audioPlayer.duration)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment