diff --git a/README.md b/README.md index b87b0f1..90aab68 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,10 @@ #### CDN Install (via cdnjs) ```html - + ``` -_Note: `4.0.0` can be replaced by any [released](https://github.com/pixijs/pixi.js/releases) version._ +_Note: `4.1.1` can be replaced by any [released](https://github.com/pixijs/pixi.js/releases) version._ ### Demos ### diff --git a/README.md b/README.md index b87b0f1..90aab68 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,10 @@ #### CDN Install (via cdnjs) ```html - + ``` -_Note: `4.0.0` can be replaced by any [released](https://github.com/pixijs/pixi.js/releases) version._ +_Note: `4.1.1` can be replaced by any [released](https://github.com/pixijs/pixi.js/releases) version._ ### Demos ### diff --git a/src/core/graphics/Graphics.js b/src/core/graphics/Graphics.js index f6d338e..9e65938 100644 --- a/src/core/graphics/Graphics.js +++ b/src/core/graphics/Graphics.js @@ -480,7 +480,7 @@ startAngle += Math.PI * 2; } - const sweep = anticlockwise ? (startAngle - endAngle) : (endAngle - startAngle); + const sweep = endAngle - startAngle; const segs = Math.ceil(Math.abs(sweep) / (Math.PI * 2)) * 40; if (sweep === 0)