From aafbdf9e682974afa8005b4dccfbbf4e17f4e99e Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Sun, 16 Jan 2022 19:29:39 +0100 Subject: [PATCH] WaveformOverviewHotcueMarker: Use const instead of let in updatePosition() --- res/qml/Mixxx/Controls/WaveformOverviewHotcueMarker.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/qml/Mixxx/Controls/WaveformOverviewHotcueMarker.qml b/res/qml/Mixxx/Controls/WaveformOverviewHotcueMarker.qml index 31aa40f81a3..4a3b348bc03 100644 --- a/res/qml/Mixxx/Controls/WaveformOverviewHotcueMarker.qml +++ b/res/qml/Mixxx/Controls/WaveformOverviewHotcueMarker.qml @@ -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; }