mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix inadvertent partial line deletion
This commit is contained in:
parent
8064353a82
commit
3feaf2046c
1 changed files with 1 additions and 1 deletions
|
|
@ -1903,7 +1903,7 @@ MidiView::region_update_sustained (Note *ev, double& x0, double& x1, double& y0,
|
|||
* note, then subtract the start of the region
|
||||
*/
|
||||
|
||||
const samplepos_t note_start_samples =
|
||||
const samplepos_t note_start_samples = _midi_region->position().distance ((note_start + session_source_start)).samples();
|
||||
|
||||
x0 = _editing_context.sample_to_pixel (note_start_samples);
|
||||
y0 = 1 + floor(note_to_y(note->note()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue