Browse Source

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

tags/non-daw-v1.3.0
Jonathan Moore Liles 3 years ago
parent
commit
81e24f4239
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      sequencer/src/canvas.C

+ 2
- 2
sequencer/src/canvas.C 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;



Loading…
Cancel
Save