MIDI list editor: fix note position scroll

This commit is contained in:
Robin Gareus
2023-09-24 12:56:44 +02:00
parent 2d24a5fe88
commit 82fdd08953

View File

@@ -213,7 +213,7 @@ MidiListEditor::scroll_event (GdkEventScroll* ev)
beat_delta = Temporal::Beats (1, 0);
}
if (ev->direction == GDK_SCROLL_DOWN || ev->direction == GDK_SCROLL_LEFT) {
beat_delta = beat_delta;
beat_delta = -beat_delta;
}
prop = MidiModel::NoteDiffCommand::StartTime;
opname = _("edit note start");