pixijs / layers

Separate the z-hierarchy of your scene tree from its canonical structure.
https://pixijs.io/layers/docs/
MIT License
222 stars 57 forks source link

Events pointerover/mouseover not working #49

Open jiroler opened 4 years ago

jiroler commented 4 years ago

Hello. With using pixi-layers events pointerover/mouseover stopped working

Example with pixi-layers: https://jsfiddle.net/7a2spnxu/4/ (not working) Example without pixi-layers: https://jsfiddle.net/7a2spnxu/5/ (working)

Can this problem be solved?

ivanpopelyshev commented 4 years ago

oh, right, time to make changes in interaction again =) thank you! Yes, a couple of hours

ivanpopelyshev commented 4 years ago

Well, I dont understand that stuff anymore. Its far more difficult that I thought. I'm gonna make a small patch but it wont be perfect.

ivanpopelyshev commented 4 years ago

OK, i published it here in dist folder and in npm 0.2.2 , please try. I made very simple patch. Huge refactoring will come next in both pixijs and here :)

I think it works: https://jsfiddle.net/Hackerham/tsavfjy2/4/

jiroler commented 4 years ago

Thank you very much! It's working now!