From f275946da5ff7e9a9fcbacb0daf483e9845cd655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 7 Dec 2020 11:20:06 +0100 Subject: [PATCH] dont use simplified path for now --- docs/src/demos/Examples/Drawing/Component.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/demos/Examples/Drawing/Component.vue b/docs/src/demos/Examples/Drawing/Component.vue index 9bdfa050..9fed1988 100644 --- a/docs/src/demos/Examples/Drawing/Component.vue +++ b/docs/src/demos/Examples/Drawing/Component.vue @@ -100,7 +100,7 @@ export default { requestAnimationFrame(() => { this.path.attr('d', points => { const path = d3.line().curve(d3.curveBasis)(points) - const simplifiedPath = d3.line().curve(d3.curveBasis)(this.simplifyPoints(points)) + // const simplifiedPath = d3.line().curve(d3.curveBasis)(this.simplifyPoints(points)) const lines = this.node.attrs.lines.filter(item => item.id !== this.id) this.updateAttributes({ @@ -110,7 +110,8 @@ export default { id: this.id, color: this.color, size: this.size, - path: simplifiedPath, + path, + // path: simplifiedPath, }, ], })