1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 17:09:26 +02:00

Insert calls to DrawOverlays() on the ruler, though they do nothing yet

This commit is contained in:
Paul Licameli 2016-05-08 15:48:51 -04:00
parent 468026f9b4
commit 3466e91ed1
3 changed files with 8 additions and 0 deletions

View File

@ -7019,6 +7019,7 @@ void AudacityProject::SeekLeftOrRight
// Move the visual cursor, avoiding an unnecessary complete redraw
GetTrackPanel()->DrawOverlays(false);
GetRulerPanel()->DrawOverlays(false);
}
else
{

View File

@ -952,6 +952,7 @@ void TrackPanel::OnTimer(wxTimerEvent& )
}
DrawOverlays(false);
mRuler->DrawOverlays(false);
if(IsAudioActive() && gAudioIO->GetNumCaptureChannels()) {

View File

@ -2155,6 +2155,12 @@ void AdornedRulerPanel::OnPaint(wxPaintEvent & WXUNUSED(evt))
{
DrawQuickPlayIndicator(&dc, true);
}
// Stroke extras direct to the client area,
// maybe outside of the damaged area
// As with TrackPanel, do not make a new wxClientDC or else Mac flashes badly!
dc.DestroyClippingRegion();
DrawOverlays(true, &dc);
}
void AdornedRulerPanel::OnSize(wxSizeEvent &evt)