Jump to content

Interaction Manager overlay delegator for multiple canvas elements


passenger-inspired
 Share

Recommended Posts

I am attempting to create a interaction layer which acts as a proxy to multiple canvas elements for events. This works fine for multiple elements if all canvases are the same size, but it seems that if 2 canvases occopy half the screen estate the delegator covers, the canvas which sits at the bottom of the screen doesn't receive any events. Is their any way round this so that all objects when hit tested use the size of the target canvas set with setTargetElement?

I have the following plunkr and I am using PIXI 3.0.11.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...