diff options
author | David Robillard <d@drobilla.net> | 2014-12-30 20:01:18 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-30 20:06:37 -0500 |
commit | 2c8babf41ea3809720fe99d074a4f74ad84b8271 (patch) | |
tree | 69cb52b568f1ecb3f4122562211046423acda3f3 /gtk2_ardour/midi_region_view.cc | |
parent | 2c36e96c97abdd3db1e7e01c2749a7691c71cc43 (diff) |
Fix stuck note display while recording.
This doesn't make sense, but I'm okay with that.
Diffstat (limited to 'gtk2_ardour/midi_region_view.cc')
-rw-r--r-- | gtk2_ardour/midi_region_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index 7fe9158211..95f572072e 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -1670,9 +1670,9 @@ MidiRegionView::update_sustained (Note* ev, bool update_ghost_regions) if (!note->length()) { if (_active_notes && note->note() < 128) { Note* const old_rect = _active_notes[note->note()]; - if (old_rect && old_rect != ev) { - /* There is an active note on this key, but it's not this note, - so we have a stuck note. Finish the old rectangle here. */ + if (old_rect) { + /* There is an active note on this key, so we have a stuck + note. Finish the old rectangle here. */ old_rect->set_x1 (x); old_rect->set_outline_all (); } |