From 44079dd68ce03d00452323ec7bf8a0dd9dddb292 Mon Sep 17 00:00:00 2001 From: Stepland <10530295-Buggyroom@users.noreply.gitlab.com> Date: Thu, 20 Jul 2023 16:00:49 +0200 Subject: [PATCH] Only show engine time --- CHANGELOG.md | 3 +++ src/editor_state.cpp | 8 +------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc77a16..53c472d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ - lane order - color notes according to quantization, colors are customizable and saved - cursor height +- Status Bar + - Snap color is now shown next to the value + - Don't show distinct music file offset and engine time - Frendlier error message when the UI font is not found in the assets folder - Playback position is kept instead of being reset to zero when you change charts or reload the audio file - New menu `Settings > Editor`, allows setting diff --git a/src/editor_state.cpp b/src/editor_state.cpp index c79b8aa..7b48ddc 100644 --- a/src/editor_state.cpp +++ b/src/editor_state.cpp @@ -1022,13 +1022,7 @@ void EditorState::display_playback_status() { ImGui::SameLine(); ImGui::TextUnformatted(fmt::format("{:.3f}", static_cast(current_exact_beats())).c_str()); ImGui::SameLine(); - if (music.has_value()) { - ImGui::TextDisabled("Music File Offset :"); - ImGui::SameLine(); - ImGui::TextUnformatted(Toolbox::to_string(audio.getPlayingOffset()).c_str()); - ImGui::SameLine(); - } - ImGui::TextDisabled("Timeline Position :"); + ImGui::TextDisabled("Time :"); ImGui::SameLine(); ImGui::TextUnformatted(Toolbox::to_string(current_time()).c_str()); }