Community
Participate
Working Groups
Reproduce: * open demo with business theme * hover over a button * leave the button and enter it again quickly (before the animation has finished) -> hover state is missing
Created attachment 166927 [details] fix What happend: AbstractButton uses animation.cancel() if the change in backgroundColor/gradient is not to be animated. Usually, the animationRenderer detects this and renders the new value without delay. However, if the animation is already running, no such check existed and the changes were not rendered. Solution: Introduced check in AnimationRender#onOriginalRenderer. Also some minor changes to AnimationRender#renderValue to better test for the endResult of a canceled animation. Tests updated.
Commited patch to CVS HEAD.