@luceosports/play-rendering 1.18.0 → 1.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -19,7 +19,8 @@ module.exports = {
|
|
|
19
19
|
this.ctx.moveTo(cp[0].x, cp[0].y);
|
|
20
20
|
|
|
21
21
|
if (cp.length === 2) {
|
|
22
|
-
|
|
22
|
+
// TODO refactor next line to avoid access to line/shape model
|
|
23
|
+
if ((this.line || this.shape).type === 'DRIBBLE') this.ctx.lineCap = 'round'; // fix last straight line cap segment
|
|
23
24
|
this.ctx.lineTo(cp[1].x, cp[1].y);
|
|
24
25
|
}
|
|
25
26
|
if (cp.length === 3) {
|