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