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

Commit 097a6767 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Updated tonal palette algorithm

Brought over new palette definitions and picking
adjascent gradient colors.

Fixes: 37985946
Test: visual
Change-Id: I2a59c6d3147bfdb90b7710a93bb3d5e41f9ef364
parent e8cb17e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ public class GradientDrawable extends Drawable {
        // (avoiding banding) by merging the background solid color into
        // the gradient directly
        RadialGradient radialGradient = new RadialGradient(x, y, radius,
                mMainColor, mSecondaryColor, Shader.TileMode.CLAMP);
                mSecondaryColor, mMainColor, Shader.TileMode.CLAMP);
        mPaint.setShader(radialGradient);
    }

+273 −32

File changed.

Preview size limit exceeded, changes collapsed.