diff --git a/src/qml/ControlsBar.qml b/src/qml/ControlsBar.qml index b5c5725..8234caf 100644 --- a/src/qml/ControlsBar.qml +++ b/src/qml/ControlsBar.qml @@ -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) } }