Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click events passing through PIXI Elements. #119

Open
DamienJolly opened this issue Jan 27, 2021 · 1 comment
Open

Click events passing through PIXI Elements. #119

DamienJolly opened this issue Jan 27, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@DamienJolly
Copy link

In update 0.3.0 there was a fix that stopped the camera drag events passing through PIXI Elements.
It would be nice if this feature is extended to the room client events.

@jankuss
Copy link
Owner

jankuss commented Feb 18, 2021

The problem right now is that we are registering the event handlers for the room directly at the interaction manager of PIXI.JS. We do this because we need to have our own event handling logic. This is not ideal though if somebody wants to do the UI in pixi itself.

We could fix this by adding some form of container element which lays above the room, which handles room events. This would break the current implementation of onActiveWallChange for rooms though.

@jankuss jankuss added the enhancement New feature or request label Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants