mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Fix for floatingheader snap value being higher than the max
translation if flinging quickly the all-apps recycler view. Bug: 73151273 Change-Id: If7acbf7b48f69ea6a818a83d519049496b86ced3
This commit is contained in:
@@ -131,7 +131,7 @@ public class FloatingHeaderView extends LinearLayout implements
|
||||
mSnappedScrolledY = currentScrollY - mMaxTranslation;
|
||||
} else if (mTranslationY <= -mMaxTranslation) { // hide or stay hidden
|
||||
mHeaderCollapsed = true;
|
||||
mSnappedScrolledY = currentScrollY;
|
||||
mSnappedScrolledY = -mMaxTranslation;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user