mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 14:35:32 +01:00
Revert "Fix ghost image on track panel"
This reverts commit b19ed258e9.
This commit is contained in:
@@ -1836,8 +1836,7 @@ void AdornedRulerPanel::OnErase(wxEraseEvent & WXUNUSED(evt))
|
||||
|
||||
void AdornedRulerPanel::OnPaint(wxPaintEvent & WXUNUSED(evt))
|
||||
{
|
||||
// wxBufferedPaintDC dc(this);
|
||||
wxPaintDC dc(this);
|
||||
wxBufferedPaintDC dc(this);
|
||||
|
||||
DoDrawBorder(&dc);
|
||||
|
||||
@@ -1846,8 +1845,6 @@ void AdornedRulerPanel::OnPaint(wxPaintEvent & WXUNUSED(evt))
|
||||
DoDrawSelection(&dc);
|
||||
}
|
||||
|
||||
DoDrawMarks(&dc, true);
|
||||
|
||||
if (mIndType >= 0)
|
||||
{
|
||||
DoDrawIndicator(&dc);
|
||||
@@ -1858,6 +1855,8 @@ void AdornedRulerPanel::OnPaint(wxPaintEvent & WXUNUSED(evt))
|
||||
DrawQuickPlayIndicator(&dc, false);
|
||||
}
|
||||
|
||||
DoDrawMarks(&dc, true);
|
||||
|
||||
if (mViewInfo->selectedRegion.isPoint())
|
||||
{
|
||||
DoDrawCursor(&dc);
|
||||
|
||||
Reference in New Issue
Block a user