Sequencer: Fix off-by-one bug preventing notes from being inserted ahead of other notes.

This commit is contained in:
Jonathan Moore Liles 2020-09-20 12:52:16 -07:00
parent 6bee859f6f
commit 81e24f4239
1 changed files with 2 additions and 2 deletions

View File

@ -1585,12 +1585,12 @@ Canvas::handle ( int m )
ghost_note->start = this->m.grid->x_to_ts( dx );
ghost_note->note = dy;
ghost_note->duration = this->m.grid->default_length();
ghost_note->duration = this->m.grid->default_length() - 1;
ghost_note->velocity = 64;
drag_note->start = this->m.grid->x_to_ts( dx );
drag_note->note = dy;
drag_note->duration = this->m.grid->default_length();
drag_note->duration = this->m.grid->default_length() - 1;
drag_note->velocity = 64;