Fix floating point precision loss
766.85714f loses precision as a floating number, so remove the last decimal place. Test: Existing tests pass Change-Id: Icf85055819d63c925dc54c04a83a513adb599ea3
This commit is contained in:
parent
339cbc0f38
commit
30fdf76d59
|
@ -228,7 +228,7 @@ public class GlifPatternDrawable extends Drawable {
|
|||
p.close();
|
||||
|
||||
p = sPatternPaths[5] = new Path();
|
||||
p.moveTo(178.44286f, 766.85714f);
|
||||
p.moveTo(178.44286f, 766.8571f);
|
||||
p.lineTo(308.7f, 768f);
|
||||
p.cubicTo(381.7f, 604.6f, 481.6f, 344.3f, 562.2f, 0f);
|
||||
p.lineTo(0f, 0f);
|
||||
|
|
Loading…
Reference in a new issue