NO-OP: add a comment about requiring a region to be selected for MIDI scrolling

This commit is contained in:
Paul Davis 2025-04-29 10:47:51 -06:00
parent f28e13fcdb
commit 3cc3b867dc

View file

@ -400,6 +400,12 @@ MidiRegionView::scroll (GdkEventScroll* ev)
return false;
}
/* Note: it is hard to select regions in draw mode, which makes the
* requirement that the region is selected before we do MIDI scrolling
* a bit burdensome. However, removing it means that in draw mode,
* vertical scroll will behave in even less desirable ways.
*/
if (!_editing_context.get_selection().selected (this)) {
return false;
}