diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-20 18:04:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-20 18:04:17 +0200 |
| commit | ddc48862d1008fa18f5dffd14ba2218a1b6803e3 (patch) | |
| tree | 67ab2badd5d507f8feec347d8e921098e7a3f581 | |
| parent | b58009c2523f6d300e395a616ed790e0789abfa5 (diff) | |
Fix failure to update peak on changing gain (#2286).v2.16.19
| -rw-r--r-- | src/wx/audio_panel.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index 7efdeb8ac..5e8370d46 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -261,6 +261,8 @@ AudioPanel::film_content_changed (int property) setup_peak (); layout (); } else if (property == AudioContentProperty::GAIN) { + /* This is a bit aggressive but probably not so bad */ + _peak_cache.clear(); setup_peak (); } else if (property == DCPContentProperty::REFERENCE_AUDIO) { if (ac.size() == 1) { |
