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

Commit a2bb76b6 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Slide ripple slower

Slide it over 450ms instead of 105

Fixes: 184594292
Test: visual
Change-Id: Ic27bc2eaa618195841c106f486d1bff7676a1e88
parent 3a5a8b85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ final class RippleShader extends RuntimeShader {
            + "    float scaleIn = subProgress(0., 0.45, in_progress);\n"
            + "    float fadeOutNoise = subProgress(0.5, 1., in_progress);\n"
            + "    float fadeOutRipple = subProgress(0.5, 0.75, in_progress);\n"
            + "    vec2 center = mix(in_touch, in_origin, fadeIn);\n"
            + "    vec2 center = mix(in_touch, in_origin, scaleIn);\n"
            + "    float ring = softRing(p, center, in_maxRadius, scaleIn, 0.45);\n"
            + "    float alpha = min(fadeIn, 1. - fadeOutNoise);\n"
            + "    vec2 uv = p * in_resolutionScale;\n"