DescriptionSimplify HomeCardGestureManager::UpdateScrollState()
This CL:
- Prevents HomeCardGestureManager from calling OnGestureProgressed() with
|from_state| == |to_state|
- This fixes the minimized home card's opacity being incorrectly set when
dragging down from the minimized state
- Removes unnecessary |HomeCardGestureManager::last_state_|
BUG=409666
TEST=HomeCardGestureManagerTest.*
Committed: https://crrev.com/eaf470240e7579c5036b5ffb184815dcdd02f53f
Cr-Commit-Position: refs/heads/master@{#293232}
Patch Set 1 #
Total comments: 7
Patch Set 2 : #
Total comments: 1
Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Messages
Total messages: 19 (6 generated)
|