summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2023-04-21 16:18:30 -0700
committer Mady Mellor <madym@google.com> 2023-04-21 16:25:48 -0700
commitb466506595803b7440bbe72b2326bca51aa9a65e (patch)
tree0566e96f3a989c6d2963683cefa9169aa0bf5dce /libs/input/PointerController.cpp
parent9188aa60688692d205e85a2131c396e8669f0f4e (diff)
Fix an issue where sometimes we wouldn't animate while dismissing
When bubbles are expanded and we drag the currently selected bubble to the dismiss target, we'd fade out the expanded view. In the situation where it was the last bubble being removed, this flag would not get reset. This means the next time the last bubble is dragged out, it wouldn't get animated. To fix this, when the last bubble gets animated out, reset this flag. Bug: 279074302 Test: manual - have 1 bubble, expand it, drag to dismiss it - get another bubble, expand it, drag to dismiss it => while dragging, the expanded view should always fade out Change-Id: Ibc3ddaab7c48e285b7ed25c32711bef7ebdb0dc9
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions