SVG-Edit / svgedit

Powerful SVG-Editor for your browser
MIT License
6.6k stars 1.54k forks source link

Programitaccly tirrgering clone button #929

Open HussnainBSCS opened 10 months ago

HussnainBSCS commented 10 months ago

Describe the bug when i programmatically trigger clone button it adds cloned object but if I move that object the blue dotted outline remain there until unless I reload the editor

Expected behavior It should clone but without a blue outline

SVG-Edit environment (IMPORTANT)

Desktop (please complete the following information):

Smartphone (please complete the following information):

Screenshots

Screen Shot 2023-11-18 at 1 09 02 AM
jfhenon commented 9 months ago

Can you please show the code you have used to programmatically clone objects. are you using "this.editor.svgCanvas.cloneSelectedElements()" ??

HussnainBSCS commented 9 months ago

@jfhenon in TopPanel.js file there is method: /*