nudges: Paint gradient background on view instead of using mask layer.
The view is quite large, so removing the mask will improve draw times and use less GPU memory. Also changed the end gradient colour to match the spec; personally I think using transparent as the end gradient looked better. Test: manual Bug: 1056967 Change-Id: I254e11bca1a85c6bf19a74e8e5e852d00f568f15 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2079687Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Commit-Queue: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/master@{#745569}
Showing
Please register or sign in to comment