Skip to content

Commit

Permalink
Suppress mouse wheel edits during Drags (#6538)
Browse files Browse the repository at this point in the history
since they are nested edits improperly

Closes #6460
  • Loading branch information
baconpaul authored Aug 19, 2022
1 parent c7d53b4 commit fd222da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/surge-xt/gui/widgets/ModulatableSlider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,9 @@ void ModulatableSlider::mouseDoubleClick(const juce::MouseEvent &event)
void ModulatableSlider::mouseWheelMove(const juce::MouseEvent &event,
const juce::MouseWheelDetails &wheel)
{
if (editTypeWas == DRAG)
return;

/*
* If I choose based on horiz/vert it only works on trackpads, so just add
*/
Expand Down

0 comments on commit fd222da

Please sign in to comment.