Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The intention of this snippet is to return true when the primary mouse button is released. For that, a bitmask should be applied to only check the primary button. I mistakenly used bitwise OR instead or AND, and as a result the event.buttons check always returned false (`!1 == false`).
- Loading branch information