From c4709c21648a09a3f2caddefb571e3881af7e7f9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 15 Apr 2021 23:51:21 +0200 Subject: [PATCH] Use anti-aliasing in the audio level plot. --- src/wx/audio_plot.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc index f25ae4cb6..7c9dae6a5 100644 --- a/src/wx/audio_plot.cc +++ b/src/wx/audio_plot.cc @@ -160,6 +160,8 @@ AudioPlot::paint () return; } + gc->SetAntialiasMode (wxANTIALIAS_DEFAULT); + if (!_analysis || _analysis->channels() == 0) { gc->SetFont (gc->CreateFont (*wxNORMAL_FONT)); gc->DrawText (_message, 32, 32); -- 2.30.2