mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Fix region coverage display, take audible opacity into account
This commit is contained in:
parent
e62f1093ea
commit
5adb6eadaf
1 changed files with 1 additions and 1 deletions
|
|
@ -1011,7 +1011,7 @@ RegionView::update_coverage_frame (LayerDisplay d)
|
||||||
t = t.increment ();
|
t = t.increment ();
|
||||||
|
|
||||||
/* is this region is on top at time t? */
|
/* is this region is on top at time t? */
|
||||||
bool const new_me = (pl->top_unmuted_region_at (t) == _region);
|
bool const new_me = pl->region_is_audible_at (_region, t);
|
||||||
/* finish off any old rect, if required */
|
/* finish off any old rect, if required */
|
||||||
if (cr && me != new_me) {
|
if (cr && me != new_me) {
|
||||||
cr->set_x1 (trackview.editor().duration_to_pixels (position.distance (t)));
|
cr->set_x1 (trackview.editor().duration_to_pixels (position.distance (t)));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue