Bug2588: Click to join clips shouldn't depend on channel visibility
This commit is contained in:
parent
0945b6b734
commit
3c76cea190
|
@ -729,7 +729,12 @@ void WaveTrackSubView::DrawBoldBoundaries(
|
|||
const auto artist = TrackArtist::Get( context );
|
||||
|
||||
// Update cache for locations, e.g. cutlines and merge points
|
||||
track->UpdateLocationsCache();
|
||||
// Bug2588: do this for both channels, even if one is not drawn, so that
|
||||
// cut-line editing (which depends on the locations cache) works properly.
|
||||
// If both channels are visible, we will duplicate this effort, but that
|
||||
// matters little.
|
||||
for( auto channel: TrackList::Channels(track))
|
||||
channel->UpdateLocationsCache();
|
||||
|
||||
const auto &zoomInfo = *artist->pZoomInfo;
|
||||
|
||||
|
|
Loading…
Reference in New Issue