From 1d7d99869447d58c37de2ded577cb1dce174453b Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 13 May 2024 10:20:03 -0400 Subject: [PATCH] Complete the cleanup from commit f3d819d2 --- src/widgets/MeterPanel.cpp | 2 +- src/widgets/MeterPanel.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/widgets/MeterPanel.cpp b/src/widgets/MeterPanel.cpp index 9224dcfbc610..c1d5dddff34b 100644 --- a/src/widgets/MeterPanel.cpp +++ b/src/widgets/MeterPanel.cpp @@ -1295,7 +1295,7 @@ void MeterPanel::DrawMeterBar(wxDC &dc, MeterBar &bar, Stats &stats) // Setup for erasing the background dc.SetPen(*wxTRANSPARENT_PEN); - dc.SetBrush(mMeterDisabled ? mDisabledBkgndBrush : mBkgndBrush); + dc.SetBrush(mBkgndBrush); if (mGradient) { diff --git a/src/widgets/MeterPanel.h b/src/widgets/MeterPanel.h index 023b7af43927..27a7b65f7f80 100644 --- a/src/widgets/MeterPanel.h +++ b/src/widgets/MeterPanel.h @@ -199,7 +199,6 @@ class AUDACITY_DLL_API MeterPanel final wxBrush mRMSBrush; wxBrush mClipBrush; wxBrush mBkgndBrush; - wxBrush mDisabledBkgndBrush; Ruler mRuler; wxString mLeftText; wxString mRightText;