Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Mouse input is broken in all browsers #2

@TelpeNight

Description

@TelpeNight

8d47621

This commit breaks input handling in all browsers.
See emscripten's fillMouseEventData. Pay attention to this line.

var rect = (target === window) ? { left: 0, top: 0 } : target.getBoundingClientRect();

Now it's executed with target == document, with getBoundingClientRect undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions