|
|
|
@@ -136,7 +136,9 @@ public: |
|
|
|
if (buttonState == newButtonState)
|
|
|
|
return false;
|
|
|
|
|
|
|
|
setScreenPos (screenPos, time, false);
|
|
|
|
// (avoid sending a spurious mouse-drag when we receive a mouse-up)
|
|
|
|
if (! (isDragging() && ! newButtonState.isAnyMouseButtonDown()))
|
|
|
|
setScreenPos (screenPos, time, false);
|
|
|
|
|
|
|
|
// (ignore secondary clicks when there's already a button down)
|
|
|
|
if (buttonState.isAnyMouseButtonDown() == newButtonState.isAnyMouseButtonDown())
|
|
|
|
|