Update path-actions.js

replace deprecated code to set the display attribute of the control points
This commit is contained in:
bluetwelve
2021-09-01 20:52:31 -04:00
committed by GitHub
parent 6579c7e660
commit 69e5d7a0fa

View File

@@ -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);