DO NOT MERGE Set the cap at alpha to 80% of the total available.
No matter how much the user drags, the alpha like the height should not get greater than a max and that max is 80% of what is available in the image. Change-Id: I57d181d6ea685461a44ed3ee29f83a675bc07fbc
This commit is contained in:
@@ -38,7 +38,7 @@ public class EdgeGlow {
|
||||
// Time it will take for a pulled glow to decay to partial strength before release
|
||||
private static final int PULL_DECAY_TIME = 10000;
|
||||
|
||||
private static final float MAX_ALPHA = 1.f;
|
||||
private static final float MAX_ALPHA = 0.8f;
|
||||
private static final float HELD_EDGE_ALPHA = 0.7f;
|
||||
private static final float HELD_EDGE_SCALE_Y = 0.5f;
|
||||
private static final float HELD_GLOW_ALPHA = 0.5f;
|
||||
|
||||
Reference in New Issue
Block a user