Skip to content

Event for original isPressed flag #25

Description

@Kif11

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions