Merge pull request #638 from bluetwelve/master
#637 control points and handles only display correctly the first time
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user