Closed fython closed 5 years ago
I want to make a simple fade animation with BlurLayout. But I found BlurLayout#setAlpha(float) is useless.
BlurLayout#setAlpha(float)
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.
Can we provide an attribute for the final alpha value, or save the current value before setting alpha value to zero?
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?