I think this line might be wrong:
|
expandBounds_(args[0], args[1]); |
Consider a dumb path that is something like M 10 10 M 20 20 M 30 30 L 40 40 Z. In this case the bounding box should be [30, 30, 40, 40]. However, the current code will incorrectly return [10, 10, 40, 40].
I think this line might be wrong:
AndroidIconAnimator/app/scripts/SvgPathData.js
Line 727 in 695b10f
Consider a dumb path that is something like
M 10 10 M 20 20 M 30 30 L 40 40 Z. In this case the bounding box should be[30, 30, 40, 40]. However, the current code will incorrectly return[10, 10, 40, 40].