Prevent one frame of text pop when sliding hover cards.
Visibility change on animation start resulted in alpha overlay not painting until next animation frame, resulting in the underlying text (representing the new title and domain) showing through at 100% opacity. Now the overlay always draws but possibly at zero opacity, avoiding the issue. The text is still cleared when the card reaches its destination so we don't incur the overhead of laying out the text. Change-Id: Id1e0587874f7e91dad4efdf0fd31f2ac23860ceb Bug: 1023956 Fixes: 1023956 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1910681 Commit-Queue: Avi Drissman <avi@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Auto-Submit: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/master@{#714817}
Showing
Please register or sign in to comment