Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use transform translate for nipple front #187

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

MCArth
Copy link
Contributor

@MCArth MCArth commented May 11, 2022

As discussed in #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.

@MCArth
Copy link
Contributor Author

MCArth commented May 11, 2022

If I read the code correctly, I also think if (opts.follow) { should be if (opts.follow && !opts.dataOnly) { here

@yoannmoinet
Copy link
Owner

Thanks for this, I'll have a look asap.

@verekia
Copy link

verekia commented Oct 10, 2022

Any chance we could revive this PR and make it happen? :) I'm also seeing some significant FPS drop when moving the joystick.

@MCArth
Copy link
Contributor Author

MCArth commented Oct 10, 2022

@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

@yoannmoinet
Copy link
Owner

Hey sorry about that, thanks for the new ping.
I'll get to it :D

@yoannmoinet yoannmoinet merged commit 52e5bd2 into yoannmoinet:master Oct 10, 2022
@yoannmoinet
Copy link
Owner

Published in v0.10.0
Thanks a ton 🙇

@verekia
Copy link

verekia commented Oct 10, 2022

Thanks a lot to you both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants