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 037c650 commit 6d0f39bf90a41e2c34631ee4d6fb5358865b19fe
@fmhdp fmhdp authored on 14 Aug 2018
Matt Karl committed on 14 Aug 2018
Showing 1 changed file
View
src/core/graphics/Graphics.js