replace out of date code to set display attribute

master
bluetwelve 2021-09-01 20:56:02 -04:00 committed by GitHub
parent f57b36ec09
commit 0c49e7641c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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