DescriptionKeep top controls visible if SHOW is called right after HIDE.
Currently, we early exit if the visibility amount matches our
desired ending amount. But when you set HIDDEN as the current,
it will start an animation, and a immediate call to SHOWN will
see that the ending condition is met and return, but does not
clear the animation.
Now, clear the animation if the current value matches our
desired ending value to ensure it doesn't move.
BUG=639702
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/a55c2fdf48fb379f994e21768f517b53837ea663
Cr-Commit-Position: refs/heads/master@{#421125}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|