Skip to content

Commit

Permalink
Implement long press touch gesture for OscillatorWaveformDisplay (and…
Browse files Browse the repository at this point in the history
… derived classes) (#5983)

Addresses #5980
  • Loading branch information
mkruselj authored Mar 21, 2022
1 parent f4b35e0 commit 738f7e8
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 122 deletions.
2 changes: 1 addition & 1 deletion src/surge-xt/gui/SurgeGUIEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,7 @@ juce::PopupMenu::Options SurgeGUIEditor::popupMenuOptions(const juce::Component
where = c->getBounds().getBottomLeft();
}

if (Surge::GUI::isTouchMode(&(synth->storage)))
if (c && Surge::GUI::isTouchMode(&(synth->storage)))
where = c->getBounds().getBottomLeft();

return popupMenuOptions(where);
Expand Down
Loading

0 comments on commit 738f7e8

Please sign in to comment.