Merge "Modify Snapback spring stiffness" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7825481a9e
@@ -47,7 +47,7 @@ private const val SETTINGS_BUTTON_TRANSLATION_FRACTION = 0.3f
|
|||||||
* were not provided, and a default spring was not set via [PhysicsAnimator.setDefaultSpringConfig].
|
* were not provided, and a default spring was not set via [PhysicsAnimator.setDefaultSpringConfig].
|
||||||
*/
|
*/
|
||||||
private val translationConfig = PhysicsAnimator.SpringConfig(
|
private val translationConfig = PhysicsAnimator.SpringConfig(
|
||||||
SpringForce.STIFFNESS_MEDIUM,
|
SpringForce.STIFFNESS_LOW,
|
||||||
SpringForce.DAMPING_RATIO_LOW_BOUNCY)
|
SpringForce.DAMPING_RATIO_LOW_BOUNCY)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user