Skip to content

Commit

Permalink
WaveformOverviewHotcueMarker: Use const instead of let in updatePosit…
Browse files Browse the repository at this point in the history
…ion()
  • Loading branch information
Holzhaus committed Jan 16, 2022
1 parent 377c9a9 commit aafbdf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/qml/Mixxx/Controls/WaveformOverviewHotcueMarker.qml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Item {
property int hotcueNumber // required

function updatePosition() {
let totalSamples = trackSamplesControl.value;
const totalSamples = trackSamplesControl.value;
marker.x = (totalSamples > 0) ? root.width * (positionControl.value / totalSamples) : 0;
}

Expand Down

0 comments on commit aafbdf9

Please sign in to comment.