Fix long note insertion bug

This commit is contained in:
Stepland 2022-12-28 18:48:04 +01:00
parent 9b0cabaed9
commit ad642b81b6

View File

@ -237,7 +237,7 @@ void ChartState::insert_long_note_just_created(std::uint64_t snap) {
}
auto new_note = make_long_note_dummy_for_linear_view(
*long_note_being_created,
Fraction{snap}
Fraction{1, snap}
);
better::Notes new_notes;
new_notes.insert(new_note);