Mixer: Fix meter falloff in chain view.

This commit is contained in:
Jonathan Moore Liles 2020-12-13 21:00:17 -08:00
parent f2aeb8a1f8
commit cda92589e9
1 changed files with 5 additions and 1 deletions

View File

@ -99,8 +99,12 @@ Meter_Module::update ( void )
for ( int i = dpm_pack->children(); i--; )
{
DPM* o = ((DPM*)dpm_pack->child( i ));
const float v = CO_DB( control_value[i] );
o->value( CO_DB( control_value[i] ) );
if ( v > o->value() )
o->value( v );
o->update();
control_value[i] = 0;