Closed MCArth closed 1 year ago
If I read the code correctly, I also think if (opts.follow) {
should be if (opts.follow && !opts.dataOnly) {
here
Thanks for this, I'll have a look asap.
Any chance we could revive this PR and make it happen? :) I'm also seeing some significant FPS drop when moving the joystick.
@verekia I've been using this branch in production since I made this PR and it seems stable, you could depend directly on it until @yoannmoinet deals with the pr
Hey sorry about that, thanks for the new ping. I'll get to it :D
Published in v0.10.0 Thanks a ton :bow:
Thanks a lot to you both!
As discussed in https://github.com/yoannmoinet/nipplejs/issues/168, this uses transform: translate instead of setting top/left on the nipple front.
Two notes that might be worth their own issue:
The npm prepare script runs on npm install, and setting NODE_ENV fails on windows. I'd personally prefer cross-env for something like this. Also, 6 of the tests fail without any of my changes? 6 still fail with them.