Dr. Kibitz

Results 51 comments of Dr. Kibitz

My goal was to make these changes, while matching the benchmarks in master, and clearly an extra object lookup is losing some speed. I think I'll just go with two...

Ok, got it, now these are the benchmarks... There does seem to a be a tiny fraction of more consistency with the reverse while loop, but nothing really measurable from...

To converge on the priority stuff, I'm seeing rather quickly that we would need to wrap your items in a listener object. Nothing to do with scoping the functions, it...

@GoodBoyDigital so I made some changes locally, and I'm seeing something odd, too good to be true even. Take a look at this: ``` benchmarking signals... signals time 1.129935 listener...

Nevermind I found the issue, definitely too good to be true.

I have this working, I'd be curious if it works for others or what you think, I guess it's whether or not this feels more or less like a worse...

I've tested that solution limitedly, but it seems to work great in 100% of all case I've had thus far. Makes this solution totally usable again, thanks!

@donpark Is the problem that events are only allowed on document without these changes?

Although I like these changes myself, just wanted to note that you can also change the interactive target element here: https://github.com/GoodBoyDigital/pixi.js/blob/master/src/interaction/InteractionManager.js#L179 Did you try setting the InteractionManager's element to document?

@w33py is correct. There should not even be a reference to `window` in a worker. There are just a few globals in a addition to the defaults which are most...