Update path-actions.js
replace deprecated code to set the display attribute of the control points
This commit is contained in:
@@ -861,7 +861,7 @@ export const pathActionsMethod = (function () {
|
|||||||
const pathpointgripContainer = getElem('pathpointgrip_container');
|
const pathpointgripContainer = getElem('pathpointgrip_container');
|
||||||
const elements = pathpointgripContainer.querySelectorAll('*');
|
const elements = pathpointgripContainer.querySelectorAll('*');
|
||||||
Array.prototype.forEach.call(elements, function(el){
|
Array.prototype.forEach.call(elements, function(el){
|
||||||
el.style.display = 'none';
|
el.setAttribute('display', 'none');
|
||||||
});
|
});
|
||||||
firstCtrl = null;
|
firstCtrl = null;
|
||||||
editorContext_.setDrawnPath(null);
|
editorContext_.setDrawnPath(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user