[Summary] Fixed bug #45206 "Numeric Fader position indicator allows to input incorrect values"

[Feature reviewed] MKosharnyy
[Reviewed] YPozdnyakov
This commit is contained in:
Nikolay 2015-01-30 11:03:57 +02:00
parent b84591302f
commit e103e04ec2

View file

@ -432,6 +432,7 @@ GainMeter::gain_activated ()
/* clamp to displayable values */
if (_data_type == DataType::AUDIO) {
f = min (f, 6.0f);
f = max (f, -120.0f);
if (_route && _route->amp() == _amp) {