• Biao She's avatar
    Fix issues related to rect elements · 56b69dba
    Biao She authored
    This CL fixes two issues:
    1. transitioned based on edge_color_ for foreground animation. Previously, we
    transition based on center_color_.
    2. use alpha channel in the SkColor correctly. Previously, the alpha channel
    in SkColor didn't apply to its RGB channel before blending.
    
    Bug: NONE
    Change-Id: I3533c062d632412cd181d0ed89c770910e6d56e3
    Reviewed-on: https://chromium-review.googlesource.com/747444
    Commit-Queue: Biao She <bshe@chromium.org>
    Reviewed-by: default avatarIan Vollick <vollick@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#513122}
    56b69dba
BUILD.gn 8.96 KB