Fixes arc method by not adding an additional point if it's too close to the last existing point. (#5010)
As it was the code did check for exact equality of X and Y coordinates. This wasn't sufficient, since extremely small differences still lead to problems further down the line due to floating point inaccuracies.
1 parent adb1f1b commit b44092cf1b124fffde68cceb56a949e813668cdf
@fmhdp fmhdp authored on 14 Aug 2018
Matt Karl committed on 14 Aug 2018
Showing 1 changed file
View
packages/graphics/src/Graphics.js