From 7f8a1ab6d067db0b2cd7d16f75d08cc2bce6731d Mon Sep 17 00:00:00 2001 From: Hyper_ <40342021+NotHyper-474@users.noreply.github.com> Date: Tue, 28 Apr 2026 00:40:41 -0300 Subject: [PATCH] Chart Editor: Only affect playback rate if "Use Editor Audio Settings" is enabled --- source/funkin/ui/debug/charting/ChartEditorState.hx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 349cc2128..7466b5a5b 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -6538,9 +6538,13 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState var startTimestamp:Float = 0; if (playtestStartTime) startTimestamp = scrollPositionInMs + playheadPositionInMs; - var playbackRate:Float = ((menubarItemPlaybackSpeed.value / 100.0) ?? 0.5) * 2.0; - playbackRate = Math.round(playbackRate / 0.05) * 0.05; // Round to nearest 5% - playbackRate = playbackRate.clamp(0.05, 2.0); // Clamp to 5% to 200% + var playbackRate:Float = 1.0; + if (playtestAudioSettings) + { + playbackRate = ((menubarItemPlaybackSpeed.value / 100.0) ?? 0.5) * 2.0; + playbackRate = Math.round(playbackRate / 0.05) * 0.05; // Round to nearest 5% + playbackRate = playbackRate.clamp(0.05, 2.0); // Clamp to 5% to 200% + } var targetSong:Song; try