Update the toolbar alpha only on frame changes
When the frame of the toolbar changes, the alpha of the buttons is updated. But the new alpha value is computed with only the y value of the frame. So instead of comparing the whole frame to see if it changed, this CL only compares the y value of the origins. Bug: 793011 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ie10d2f6d4639edb040999e71794d0b30347cf4be Reviewed-on: https://chromium-review.googlesource.com/817285 Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by:Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#523112}
Showing
Please register or sign in to comment