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

BlurLayout#setAlpha is useless #41

Closed
fython opened this issue Oct 20, 2018 · 0 comments
Closed

BlurLayout#setAlpha is useless #41

fython opened this issue Oct 20, 2018 · 0 comments

Comments

@fython
Copy link

fython commented Oct 20, 2018

I want to make a simple fade animation with BlurLayout. But I found BlurLayout#setAlpha(float) is useless.

Then I search out the reason why my alpha settings wasn't applied:

BlurLayout.java#L282

BlurLayout.java#L461

It might not a good idea that restore alpha value to the fixed value (1.0) after finishing eval blurred image.

Possible solutions

Can we provide an attribute for the final alpha value, or save the current value before setting alpha value to zero?

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