shroom icon indicating copy to clipboard operation
shroom copied to clipboard

Click events passing through PIXI Elements.

Open DamienJolly opened this issue 5 years ago • 1 comments

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.

DamienJolly avatar Jan 27 '21 05:01 DamienJolly

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 avatar Feb 18 '21 23:02 jankuss