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

No shadow with cornerRadius = 0.0 #1

Open
bxem44 opened this issue Jun 26, 2019 · 2 comments
Open

No shadow with cornerRadius = 0.0 #1

bxem44 opened this issue Jun 26, 2019 · 2 comments

Comments

@bxem44
Copy link

bxem44 commented Jun 26, 2019

Am I missing something or why is no shadow displayed when the corner radius is set to 0.0?

@briancoyner
Copy link
Owner

@BaranEm the demo code used to generate the shadow image uses the corner radius to calculate the cap insets. When the radius is zero, then the cap insets are zero, which is probably why you're seeing the reported issue. I'll see about adjusting the shadow image generation function sometime in the next week or so.

@bxem44
Copy link
Author

bxem44 commented Jul 1, 2019

@briancoyner Okay that sounds great!

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

No branches or pull requests

2 participants