mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-02 14:17:07 +01:00
Bug2588: Click to join clips shouldn't depend on channel visibility
This commit is contained in:
@@ -729,7 +729,12 @@ void WaveTrackSubView::DrawBoldBoundaries(
|
|||||||
const auto artist = TrackArtist::Get( context );
|
const auto artist = TrackArtist::Get( context );
|
||||||
|
|
||||||
// Update cache for locations, e.g. cutlines and merge points
|
// 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;
|
const auto &zoomInfo = *artist->pZoomInfo;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user