Fix "Insert BPM Change" dialog being forcefully stupid tiny

This commit is contained in:
Stepland 2024-01-07 02:56:44 +01:00
parent 790cdf1a11
commit 052bd89267
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
# v2.0.2
## 🗿 Bugfixes 🗿
- Fix "Insert BPM Change" dialog being forcefully stupid tiny
# v2.0.1 # v2.0.1
## 🚧 Changes 🚧 ## 🚧 Changes 🚧

View File

@ -1434,7 +1434,7 @@ void EditorState::display_bpm_change_menu() {
[&](const auto& pos){return applicable_timing->bpm_at(pos);}, [&](const auto& pos){return applicable_timing->bpm_at(pos);},
playback_position playback_position
); );
ImGui::PushItemWidth(-70.0f); ImGui::PushItemWidth(120.0f);
if (feis::InputDecimal("BPM", &bpm, ImGuiInputTextFlags_EnterReturnsTrue)) { if (feis::InputDecimal("BPM", &bpm, ImGuiInputTextFlags_EnterReturnsTrue)) {
if (bpm > 0) { if (bpm > 0) {
auto new_timing = *applicable_timing; auto new_timing = *applicable_timing;