Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19e7e55d authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Use stiffer spring for blurs

We got user feedback saying the animaiton is too distractive.

Test: visual
Fixes: 152989636
Change-Id: Ia3acd4f59991a7ed831c3cf3c01f86ab7124f291
parent c9bdb4aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ class NotificationShadeDepthController @Inject constructor(
        init {
            springAnimation.spring = SpringForce(0.0f)
            springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY
            springAnimation.spring.stiffness = SpringForce.STIFFNESS_MEDIUM
            springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH
            springAnimation.addEndListener { _, _, _, _ -> pendingRadius = -1 }
        }