From: Carl Hetherington Date: Thu, 15 Apr 2021 21:51:21 +0000 (+0200) Subject: Use anti-aliasing in the audio level plot. X-Git-Tag: v2.15.141~64 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=c4709c21648a09a3f2caddefb571e3881af7e7f9 Use anti-aliasing in the audio level plot. --- 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);