-
Notifications
You must be signed in to change notification settings - Fork 58
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
repeating gradient slices not equal #22
Comments
Yes, that's what I see too. All slices should be equal, but the transparent one at the top is visibly smaller than the two black ones framing it (in general, the transparent slices look smaller). This causes problems if I have two different elements with such gradients one on top of the other, the top one being rotated by a slice (live test). |
Ah, I see now, thanks! |
I think this is duplicate of #4, floating point error problem. |
My code looks like this:
Expected result: all slices, whether they're black or transparent should be equal (to
2%
of360deg
, which is7.2deg
).Actual result: they're different (test) and the issue is particularly obvious in the
0
/360deg
area.The text was updated successfully, but these errors were encountered: