Revert to allowing stacked layer region view for MIDI tracks, for now.
This commit is contained in:
parent
e16141c9aa
commit
cdab4c9906
@ -245,9 +245,11 @@ MidiStreamView::update_data_note_range(uint8_t min, uint8_t max)
|
|||||||
void
|
void
|
||||||
MidiStreamView::set_layer_display (LayerDisplay d)
|
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);
|
StreamView::set_layer_display (d);
|
||||||
}
|
}
|
||||||
|
@ -78,7 +78,7 @@ class MidiStreamView : public StreamView
|
|||||||
void update_note_range(uint8_t note_num);
|
void update_note_range(uint8_t note_num);
|
||||||
|
|
||||||
void set_layer_display (LayerDisplay);
|
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 ();
|
void redisplay_track ();
|
||||||
|
|
||||||
inline double contents_height() const
|
inline double contents_height() const
|
||||||
|
Loading…
Reference in New Issue
Block a user