minor fixups for ghost region height management
This commit is contained in:
parent
ee22381f32
commit
be111abb34
|
@ -68,7 +68,7 @@ GhostRegion::GhostRegion (RegionView& rv,
|
|||
CANVAS_DEBUG_NAME (base_rect, "ghost region rect");
|
||||
base_rect->set_x0 (0);
|
||||
base_rect->set_y0 (1.0);
|
||||
base_rect->set_y1 (1);
|
||||
base_rect->set_y1 (2.0); /* set height will change this later */
|
||||
base_rect->set_outline (false);
|
||||
|
||||
if (!is_automation_ghost()) {
|
||||
|
|
|
@ -350,10 +350,6 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent)
|
|||
}
|
||||
}
|
||||
|
||||
for (list<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) {
|
||||
(*i)->set_height (current_height());
|
||||
}
|
||||
|
||||
/* put separator at the bottom of this time axis view */
|
||||
|
||||
_canvas_separator->set (ArdourCanvas::Duple(0, height), ArdourCanvas::Duple(ArdourCanvas::COORD_MAX, height));
|
||||
|
|
Loading…
Reference in New Issue