Skip to content


[Predictive Back][Search] Update to use decelerate interpolator
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 571442671
  • Loading branch information
dsn5ft authored and drchen committed Oct 10, 2023
1 parent b8b1a66 commit 5559cbc
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -115,6 +115,8 @@ public void updateBackProgress(
public void updateBackProgress(
float progress, boolean leftSwipeEdge, float touchY, float collapsedCornerSize) {
progress = interpolateProgress(progress);

float width = view.getWidth();
float height = view.getHeight();
if (width <= 0f || height <= 0f) {
Expand Down

0 comments on commit 5559cbc

Please sign in to comment.