diff --git a/core/src/main/java/edu/umd/cs/piccolo/PCanvas.java b/core/src/main/java/edu/umd/cs/piccolo/PCanvas.java index c0a021e..2b448b1 100644 --- a/core/src/main/java/edu/umd/cs/piccolo/PCanvas.java +++ b/core/src/main/java/edu/umd/cs/piccolo/PCanvas.java @@ -518,7 +518,7 @@ newButton = MouseEvent.BUTTON3; } - return (newButton == 0) ? rawEvent : buildModifiedMouseEvent(rawEvent, eventType, newButton); + return buildModifiedMouseEvent(rawEvent, eventType, newButton); } private boolean hasButtonModifier(final MouseEvent event, int buttonMask) {