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

Clamp opacity to [0, 1] when setting on canvas #1814

Closed
lehni opened this issue May 23, 2020 · 0 comments
Closed

Clamp opacity to [0, 1] when setting on canvas #1814

lehni opened this issue May 23, 2020 · 0 comments

Comments

@lehni
Copy link
Member

lehni commented May 23, 2020

This should appear with opacity 0, but it currently appears with 1:

new Shape.Circle({
    center: view.center,
    radius: 200,
    fillColor: 'red',
    opacity: -0.0001
})

Sketch

@lehni lehni closed this as completed in af509f6 May 23, 2020
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

1 participant