Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Multiple components overriding mouse events not always getting called #428

@Aidan63

Description

@Aidan63

If you have two components which both override onmousedown and attach them to the same entity both of the components onmousedown events will be called as expected. If you then remove one of those components the remaining one doesn't seem to receive any onmousedown events until the other is re-added.

If the entity only starts with one of the components attached then it will run onmousedown fine. It's not until the other component has been added and then one of them removed that the other stops running its event. This also happens with onmouseup and onmousemove.

Gist contains code which reproduces this issue.
https://gist.github.com/Aidan63/f542cff44ff9f5137829a6cdd8803524

Using luxe through the snowfall haxelib package on Ubuntu 17.04.

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