You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposed fix in draw2d.layout.locator.Locator:
clone: function () {
let clone = eval("new " + this.NAME + "();")
clone.attr(this.attr()) // also clone properties
return clone
}
(will not work if the legacy constructor of XYRelPortLocator is used, but let's stay pragmatic)
The text was updated successfully, but these errors were encountered:
rudolphi
pushed a commit
to rudolphi/draw2d
that referenced
this issue
Jun 6, 2021
Proposed fix in draw2d.layout.locator.Locator:
clone: function () {
let clone = eval("new " + this.NAME + "();")
clone.attr(this.attr()) // also clone properties
return clone
}
(will not work if the legacy constructor of XYRelPortLocator is used, but let's stay pragmatic)
The text was updated successfully, but these errors were encountered: