Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit 2325eaf

Browse files
authored
Callback fix (#214)
* fix math bug & add AutoCompleteMode * fix comment & and new test * fixed Comment * fix the no callback bug
1 parent a3852e0 commit 2325eaf

File tree

1 file changed

+2
-0
lines changed
  • constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/motion/widget

1 file changed

+2
-0
lines changed

constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/motion/widget/MotionLayout.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3626,6 +3626,8 @@ void evaluate(boolean force) {
36263626
}
36273627

36283628
}
3629+
} else {
3630+
mLastVelocity = deltaPos;
36293631
}
36303632
if (Math.abs(mLastVelocity)> EPSILON) {
36313633
setState(TransitionState.MOVING);

0 commit comments

Comments
 (0)