mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Fix bug where dragging icons in folders causes error" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7cb0133d84
@@ -568,7 +568,8 @@ public abstract class DragView<T extends Context & ActivityContext> extends Fram
|
||||
.setSpring(new SpringForce(0)
|
||||
.setDampingRatio(DAMPENING_RATIO)
|
||||
.setStiffness(STIFFNESS));
|
||||
mDelta = view.getResources().getDisplayMetrics().density * PARALLAX_MAX_IN_DP;
|
||||
mDelta = Math.min(
|
||||
range, view.getResources().getDisplayMetrics().density * PARALLAX_MAX_IN_DP);
|
||||
}
|
||||
|
||||
public void animateToPos(float value) {
|
||||
|
||||
Reference in New Issue
Block a user