Merge pull request #1 from bluetwelve/bluetwelve-patch-1

Update path-actions.js - replace deprecated code to set the display attribute of the control points
master
bluetwelve 2021-09-01 20:53:15 -04:00 committed by GitHub
commit f57b36ec09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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