From 052bd89267032cd95821d73659f0fbf549f38195 Mon Sep 17 00:00:00 2001 From: Stepland <10530295-Buggyroom@users.noreply.gitlab.com> Date: Sun, 7 Jan 2024 02:56:44 +0100 Subject: [PATCH] Fix "Insert BPM Change" dialog being forcefully stupid tiny --- CHANGELOG.md | 5 +++++ src/editor_state.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45bf81b..5be5497 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v2.0.2 + +## 🗿 Bugfixes 🗿 +- Fix "Insert BPM Change" dialog being forcefully stupid tiny + # v2.0.1 ## 🚧 Changes 🚧 diff --git a/src/editor_state.cpp b/src/editor_state.cpp index 53d32d7..d915c42 100644 --- a/src/editor_state.cpp +++ b/src/editor_state.cpp @@ -1434,7 +1434,7 @@ void EditorState::display_bpm_change_menu() { [&](const auto& pos){return applicable_timing->bpm_at(pos);}, playback_position ); - ImGui::PushItemWidth(-70.0f); + ImGui::PushItemWidth(120.0f); if (feis::InputDecimal("BPM", &bpm, ImGuiInputTextFlags_EnterReturnsTrue)) { if (bpm > 0) { auto new_timing = *applicable_timing;