diff options
author | Ned Burns <pixel@google.com> | 2019-04-17 22:22:24 -0400 |
---|---|---|
committer | Ned Burns <pixel@google.com> | 2019-06-21 21:17:56 -0400 |
commit | 4592f66058518419f53db421ae40e317696532d5 (patch) | |
tree | 0966594d2a489a463e1efb6a9a8aa37736ac8329 /startop/scripts/lib/cmd_utils.py | |
parent | 23b6339ebd2cfc0c9a82e2ab21b0e85b40c27ad1 (diff) |
Fix excessive entrance animation duration + delay
We were previously staggering animations by using the child's
notGoneIndex, but that can lead to strange results in the case of groups
that have many (~40) children. The children count towards the
notGoneIndex, causing unexpected discontinuities between notifs that are
visually right next to each other. Instead we just use a simple stagger
counter that gets reset on every pass and incremented for each new
entrance animation.
Fixes: 130259081
Test: Manual
Change-Id: I3c8519a8f9b7fcb661b2c4c4f8e85db0a717bc01
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions