From 69e5d7a0fab465b31bccf69d1e3278e13fdd3dd8 Mon Sep 17 00:00:00 2001 From: bluetwelve <82043995+bluetwelve@users.noreply.github.com> Date: Wed, 1 Sep 2021 20:52:31 -0400 Subject: [PATCH] Update path-actions.js replace deprecated code to set the display attribute of the control points --- src/svgcanvas/path-actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svgcanvas/path-actions.js b/src/svgcanvas/path-actions.js index d8a07faa..e91a0875 100644 --- a/src/svgcanvas/path-actions.js +++ b/src/svgcanvas/path-actions.js @@ -861,7 +861,7 @@ export const pathActionsMethod = (function () { const pathpointgripContainer = getElem('pathpointgrip_container'); const elements = pathpointgripContainer.querySelectorAll('*'); Array.prototype.forEach.call(elements, function(el){ - el.style.display = 'none'; + el.setAttribute('display', 'none'); }); firstCtrl = null; editorContext_.setDrawnPath(null);