13
0

Revert to allowing stacked layer region view for MIDI tracks, for now.

This commit is contained in:
Ben Loftis 2017-02-06 12:42:29 -06:00
parent e16141c9aa
commit cdab4c9906
2 changed files with 6 additions and 4 deletions

View File

@ -245,9 +245,11 @@ MidiStreamView::update_data_note_range(uint8_t min, uint8_t max)
void
MidiStreamView::set_layer_display (LayerDisplay d)
{
if (d != Overlaid) {
return;
}
//revert this change for now. Although stacked view is weirdly implemented wrt the "scroomer", it is still necessary to manage layered midi regions.
// if (d != Overlaid) {
// return;
// }
StreamView::set_layer_display (d);
}

View File

@ -78,7 +78,7 @@ class MidiStreamView : public StreamView
void update_note_range(uint8_t note_num);
void set_layer_display (LayerDisplay);
bool can_change_layer_display() const { return false; }
// bool can_change_layer_display() const { return false; } //revert this change for now. Although stacked view is weirdly implemented wrt the "scroomer", it is still necessary to be able to manage layered regions.
void redisplay_track ();
inline double contents_height() const