• Sammie Quon's avatar
    wallpaper: Tweak cross fade animation a bit. · 964ae8f4
    Sammie Quon authored
    Users have reported a subtle flash during the overview animation. This
    is because the current cross fade animation fades out the old layer
    while fading in the new layer. This will cause the combined opacities
    of the two layers to be 1 at the endpoints, but less than 1 in
    between, resulting in the middle of the animation being slightly dimmer.
    
    Discussed with UX in the bug, and make the only the old layer fade out.
    This will result in the combined opacity always being 1.
    
    Test: manual
    Change-Id: Iacc7adcbc424f59656d7876bfecf32e3cb048b2d
    Fixed: 1124947
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2481002
    Commit-Queue: Sammie Quon <sammiequon@chromium.org>
    Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#818590}
    964ae8f4
wallpaper_widget_controller.cc 4.5 KB