summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-15 23:51:21 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-16 01:11:04 +0200
commitc4709c21648a09a3f2caddefb571e3881af7e7f9 (patch)
tree7c8c47735c94a823753199a84154fff9db644bb9
parent55c007ab910ee9586d6bd2faba165e42f6148622 (diff)
Use anti-aliasing in the audio level plot.
-rw-r--r--src/wx/audio_plot.cc2
1 files changed, 2 insertions, 0 deletions
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);