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:
parent
468026f9b4
commit
3466e91ed1
@ -7019,6 +7019,7 @@ void AudacityProject::SeekLeftOrRight
|
||||
|
||||
// Move the visual cursor, avoiding an unnecessary complete redraw
|
||||
GetTrackPanel()->DrawOverlays(false);
|
||||
GetRulerPanel()->DrawOverlays(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -952,6 +952,7 @@ void TrackPanel::OnTimer(wxTimerEvent& )
|
||||
}
|
||||
|
||||
DrawOverlays(false);
|
||||
mRuler->DrawOverlays(false);
|
||||
|
||||
if(IsAudioActive() && gAudioIO->GetNumCaptureChannels()) {
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user