Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event for original isPressed flag #25

Open
Kif11 opened this issue Mar 28, 2019 · 0 comments
Open

Event for original isPressed flag #25

Kif11 opened this issue Mar 28, 2019 · 0 comments

Comments

@Kif11
Copy link

Kif11 commented Mar 28, 2019

I needed access to original isPressed boolean in order to fly around the scene with the mouse press. So I have to add this in order to expose it.

if ( button.isPressed && isPrimary ) {
    controller.dispatchEvent({ type: 'primary pressed' })
}

I don't quite understand why it was not exposed original. It is such a basic thing to have.

I can make an PR for that if necessary.

@Kif11 Kif11 mentioned this issue Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant