File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ var VolumeAction = class extends BaseAction {
319319
320320 this . ignoring = true ;
321321
322- this . max_volume = mixer . get_vol_max_norm ( ) ;
322+ this . max_volume = mixer . get_vol_max_amplified ( ) ;
323323 this . pct_step = Math . ceil ( this . max_volume / 100 ) ;
324324 }
325325
@@ -335,11 +335,11 @@ var VolumeAction = class extends BaseAction {
335335
336336 if ( this . ignoring ) {
337337 if ( up ) {
338- if ( int_pct * this . pct_step < sink . volume - 2 * this . pct_step ) {
338+ if ( int_pct * this . pct_step < sink . volume - 2 * this . pct_step ) {
339339 return ;
340340 }
341341 } else {
342- if ( int_pct * this . pct_step >= sink . volume + 2 * this . pct_step ) {
342+ if ( int_pct * this . pct_step >= sink . volume + 2 * this . pct_step ) {
343343 return ;
344344 }
345345 }
You can’t perform that action at this time.
0 commit comments