[Summary] Fix bug in commit: Bug fix# 45828 "Incorrect lowest boundaries shown on meter scale" 0f13654646 [0f13654]

[Feature reviewed] AMishyn
[Reviewed] GZharun
This commit is contained in:
Nikolay 2015-04-29 16:40:29 +03:00
parent 37790cb764
commit 6ec972cd04

View file

@ -935,7 +935,7 @@ GainMeter::update_meters()
if (mpeak > max_peak) {
max_peak = mpeak;
if (mpeak <= Config->get_numeric_peak_min_treshold()) {
if (mpeak < Config->get_numeric_peak_min_treshold()) {
peak_display_button.set_text (_("-inf"));
peak_display_button.modify_bg(Gtk::STATE_NORMAL, _peak_level_3_color);
peak_display_button.modify_bg(Gtk::STATE_ACTIVE, _peak_level_3_color);