diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-15 23:51:21 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-16 01:11:04 +0200 |
| commit | c4709c21648a09a3f2caddefb571e3881af7e7f9 (patch) | |
| tree | 7c8c47735c94a823753199a84154fff9db644bb9 | |
| parent | 55c007ab910ee9586d6bd2faba165e42f6148622 (diff) | |
Use anti-aliasing in the audio level plot.
| -rw-r--r-- | src/wx/audio_plot.cc | 2 |
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); |
