mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix meter-background highlight when peaking. (> vs >=)
This commit is contained in:
parent
badb902bc0
commit
c014ccaeb1
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ LevelMeterBase::update_meters ()
|
||||||
const float mpeak = _meter->meter_level(n, MeterMaxPeak);
|
const float mpeak = _meter->meter_level(n, MeterMaxPeak);
|
||||||
if (mpeak > (*i).max_peak) {
|
if (mpeak > (*i).max_peak) {
|
||||||
(*i).max_peak = mpeak;
|
(*i).max_peak = mpeak;
|
||||||
(*i).meter->set_highlight(mpeak > Config->get_meter_peak());
|
(*i).meter->set_highlight(mpeak >= Config->get_meter_peak());
|
||||||
}
|
}
|
||||||
if (mpeak > max_peak) {
|
if (mpeak > max_peak) {
|
||||||
max_peak = mpeak;
|
max_peak = mpeak;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue