shroom
shroom copied to clipboard
Click events passing through PIXI Elements.
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.
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.