summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/src/eventhandler.hcc
diff options
context:
space:
mode:
Diffstat (limited to 'Graphic_Equalizer/src/eventhandler.hcc')
-rw-r--r--Graphic_Equalizer/src/eventhandler.hcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphic_Equalizer/src/eventhandler.hcc b/Graphic_Equalizer/src/eventhandler.hcc
index 5cdee4e..baa5969 100644
--- a/Graphic_Equalizer/src/eventhandler.hcc
+++ b/Graphic_Equalizer/src/eventhandler.hcc
@@ -313,7 +313,7 @@ inline void eventhandler_main(audiodata_t *audiodata, events_t *events, mousedat
delay;
}
- if (AREA_INPUTGAIN_YAXIS == events->mask) {
+ if ((AREA_INPUTGAIN_YAXIS == events->mask) && (!events->locked_gain)) {
/*
* Change the inputgain
* depending on the y position.