Skip to content

Commit

Permalink
tried to KLButton -> KLButton || KRButton (surge-synthesizer#741)
Browse files Browse the repository at this point in the history
Closes  surge-synthesizer#724
objective: make right-mouse-button clicking open WaveTable Context menu too!
Former-commit-id: 7045d1910081df40e9253741870440b72f71f2f2 [formerly 9e58f17]
Former-commit-id: c5686e7831278409e17cb69230c62484399d3a23
Former-commit-id: ec3d0628532a08866ab4ca8af40b27190e07db34
  • Loading branch information
esaruoho authored and baconpaul committed Mar 7, 2019
1 parent 757ab45 commit 5c4cf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/gui/COscillatorDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ bool COscillatorDisplay::onDrop(IDataPackage* drag, const CPoint& where)

CMouseEventResult COscillatorDisplay::onMouseDown(CPoint& where, const CButtonState& button)
{
if (!(button & kLButton))
if (!((button & kLButton) || (button & kRButton)))
return kMouseDownEventHandledButDontNeedMovedOrUpEvents;

assert(oscdata);
Expand Down

0 comments on commit 5c4cf76

Please sign in to comment.