summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r--macosx/Controller.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index a8e0e9ef7..7ab9aac22 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -5105,6 +5105,14 @@ the user is using "Custom" settings by determining the sender*/
drcSlider = fAudTrack4DrcSlider;
drcField = fAudTrack4DrcField;
}
+
+ /* If we are between 0.0 and 1.0 on the slider, snap it to 1.0 */
+ if ([drcSlider floatValue] > 0.0 && [drcSlider floatValue] < 1.0)
+ {
+ [drcSlider setFloatValue:1.0];
+ }
+
+
[drcField setStringValue: [NSString stringWithFormat: @"%.2f", [drcSlider floatValue]]];
/* For now, do not call this until we have an intelligent way to determine audio track selections
* compared to presets