[UI] Made hover timestamp formula easier to read.
This commit is contained in:
parent
1aa3e6f66b
commit
1c081cf771
|
@ -145,7 +145,7 @@ Item {
|
|||
acceptedButtons: Qt.NoButton
|
||||
z: 1
|
||||
onPositionChanged: {
|
||||
var a = (mouseAreaProgressBar.mouseX * (progressBar.to / (progressBackground.width)));
|
||||
var a = (progressBar.to / progressBar.width ) * mouseAreaProgressBar.mouseX
|
||||
hoverProgressLabel.text = utils.createTimestamp(a)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue