Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tweak get_mouse_state to deal when mouse is out of bounds #9

@frotaur

Description

@frotaur

Currently when the mouse is out of the automaton world, get_mouse_state still returns mouse position, which can sometimes cause bugs.

It should probably returned undefined or at least, have a way to know i fthe mouse is currently out of bounds.

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