1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Reimplement the logic for drawing label track selection background

This commit is contained in:
Paul Licameli
2018-11-03 14:59:58 -04:00
parent f8e0ffb31b
commit c866ed4bf7
3 changed files with 9 additions and 12 deletions

View File

@@ -797,7 +797,8 @@ void LabelTrack::Draw
TrackArtist::DrawBackgroundWithSelection(&dc, r, this,
AColor::labelSelectedBrush, AColor::labelUnselectedBrush,
selectedRegion, zoomInfo);
selectedRegion, zoomInfo,
( GetSelected() || IsSyncLockSelected() ) );
wxCoord textWidth, textHeight;