1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 14:52:34 +02:00

Invoke CellularPanel::Draw for TrackPanel, no steps moved into it yet

This commit is contained in:
Paul Licameli 2018-11-03 00:07:56 -04:00
parent cb2ea25afc
commit ec69a58e0a
2 changed files with 8 additions and 0 deletions

View File

@ -161,6 +161,12 @@ namespace TrackArt {
class AUDACITY_DLL_API TrackArtist final : private PrefsListener {
public:
enum : unsigned {
NPasses
};
TrackArtist( TrackPanel *parent_ );
~TrackArtist();
static TrackArtist *Get( TrackPanelDrawingContext & );

View File

@ -917,6 +917,8 @@ void TrackPanel::DrawTracks(wxDC * dc)
mTrackArtist->hasSolo = hasSolo;
TrackArt::DrawTracks( context, GetTracks(), region, clip );
this->CellularPanel::Draw( context, TrackArtist::NPasses );
// Draw the rest, including the click-to-deselect blank area below all
// tracks
DrawEverythingElse(context, region, clip);