commit | a479a3268f5fd63d1dc414b33545473aef3c75a1 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Tue Mar 16 20:26:50 2021 +0000 |
committer | George Mount <mount@google.com> | Tue Mar 16 20:42:17 2021 +0000 |
tree | b064437531ff9d9d9ac016956448cdcfd32a97b0 | |
parent | e3e90bd0c4f9523813d6726a676e0eea7fd3a101 [diff] |
Fix bug in EdgeEffect with glow Fixes: 182499389 With the glow edge effect, using the drag gesture to reduce the edge glow could cause the glow to flip and repeat. This was caused by the update() modifying the determined distance during the pull when it wasn't animating. We also force the alpha to be 0 if the pull distance is 0. Test: manual testing Change-Id: Iacc1df0fcb92e3380523187badf7ea62d7d19d2f