-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fixes & optimizations #3
base: master
Are you sure you want to change the base?
Conversation
There is a bug with this change whereby the actual target image you are setting the transform for gets cut off at the bottom (IE, it seems like this code change makes it get the wrong height for the image you are attempting to apply perspective transform to). Does not happen with master. |
@mjgerace I tried to reproduce that, but couldn't... do you have a repro case I could take a look at? |
@akx I think the issue I found revolves around how you scale - you just use |
This PR might seem big, but the commits and changes themselves are granular and self-contained.
It also enables ESlint to catch more possible bugs and makes typing a little stricter.
The end result is happily also a smaller bundle (3339 bytes -> 2980 bytes).