draw2d icon indicating copy to clipboard operation
draw2d copied to clipboard

Properties of Locators are not serialized or cloned

Open rudolphi opened this issue 3 years ago • 0 comments

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)

rudolphi avatar May 17 '21 14:05 rudolphi