fix ghost region height for MIDI regions
This commit is contained in:
parent
be111abb34
commit
816b6a00bc
|
@ -1476,7 +1476,7 @@ MidiRegionView::add_ghost (TimeAxisView& tv)
|
|||
}
|
||||
|
||||
ghost->set_colors ();
|
||||
ghost->set_height (trackview.current_height());
|
||||
ghost->set_height (tv.current_height());
|
||||
ghost->set_duration (_region->length().samples() / samples_per_pixel);
|
||||
|
||||
for (Events::iterator i = _events.begin(); i != _events.end(); ++i) {
|
||||
|
|
Loading…
Reference in New Issue