Skip to content

This will shut off dispatches if you press a new key and then release the new ke... #60

@todo

Description

@todo

// TODO: This will shut off dispatches if you press a new key and then release the new key
// without keyup on the first. Should fix for edge case.
if (performance.now() - this.lastKeyPress > 2000) {
this.keysPressed = []
return
}


This issue was generated by todo based on a TODO comment in a5cd501 when #48 was merged. cc @SaltieRL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions