1
0
Fork 0

[UI] Made hover timestamp formula easier to read.

This commit is contained in:
NamedKitten 2018-11-26 17:01:45 +00:00
parent 1aa3e6f66b
commit 1c081cf771

View file

@ -145,7 +145,7 @@ Item {
acceptedButtons: Qt.NoButton acceptedButtons: Qt.NoButton
z: 1 z: 1
onPositionChanged: { onPositionChanged: {
var a = (mouseAreaProgressBar.mouseX * (progressBar.to / (progressBackground.width))); var a = (progressBar.to / progressBar.width ) * mouseAreaProgressBar.mouseX
hoverProgressLabel.text = utils.createTimestamp(a) hoverProgressLabel.text = utils.createTimestamp(a)
} }
} }