Draw long note tails behind markers

This commit is contained in:
Stepland 2024-01-07 23:42:00 +01:00
parent f692ca1b31
commit 969272c4fb
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
# v2.0.3
## 🗿 Bugfixes 🗿
- Draw long note tails behind markers
# v2.0.2
## 🗿 Bugfixes 🗿

View File

@ -520,6 +520,9 @@ void EditorState::display_playfield(const Markers::marker_type& opt_marker, Judg
);
}
ImGui::SetCursorPos({0, TitlebarHeight});
ImGui::Image(playfield.long_note.layer);
auto display = VariantVisitor {
[&, this](const better::TapNote& tap_note){
auto note_offset = (this->current_time() - this->time_at(tap_note.get_time()));
@ -576,8 +579,6 @@ void EditorState::display_playfield(const Markers::marker_type& opt_marker, Judg
}
}
ImGui::SetCursorPos({0, TitlebarHeight});
ImGui::Image(playfield.long_note.layer);
ImGui::SetCursorPos({0, TitlebarHeight});
ImGui::Image(playfield.long_note_marker_layer);
ImGui::SetCursorPos({0, TitlebarHeight});