FX2D changing the result of MouseEvent.getButton() for mouse releases, is there a quick workaround?

SanSan
edited January 2017 in Questions about Code

In P2D this prints out 37 for the left mouse and 39 for the right mouse, but in FX2D it returns 0 for both (unless you release while holding the other mouse button down, then it outputs the number for the one still held down).

Mouse presses work fine, but is there a different way to get the released mouse button in FX2D?

Answers

Sign In or Register to comment.