From 0c49e7641c85a031d14e054c94f785f77f549c7f Mon Sep 17 00:00:00 2001 From: bluetwelve <82043995+bluetwelve@users.noreply.github.com> Date: Wed, 1 Sep 2021 20:56:02 -0400 Subject: [PATCH] replace out of date code to set display attribute --- src/svgcanvas/path-method.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svgcanvas/path-method.js b/src/svgcanvas/path-method.js index d17c0e7a..4a5c04ee 100644 --- a/src/svgcanvas/path-method.js +++ b/src/svgcanvas/path-method.js @@ -640,7 +640,7 @@ export class Path { const pointGripContainer = getGripContainerMethod(); const elements = pointGripContainer.querySelectorAll('*'); Array.prototype.forEach.call(elements, function(el){ - el.style.display = 'none'; + el.setAttribute('display', 'none'); }); const segList = this.elem.pathSegList;