Try to make Jeff happy
Make use of a nonce for setting SVG-Edit IDs option. By default, SVG-Edit behaves as before. Calling svgCanvas.randomizeIds(true) gives our behaviour, instead. Also, sync with latest SVG-Edit (but disable, for now, manual editing of IDs).
This commit is contained in:
parent
8a851eeab2
commit
519f81ab20
8 changed files with 144 additions and 300 deletions
|
@ -91,6 +91,7 @@ function setupSVGedit(path){
|
|||
window.close();
|
||||
}
|
||||
});
|
||||
editor.svgCanvas.randomizeIds();
|
||||
editor.svgCanvas.setSvgString(selected);
|
||||
}, true);
|
||||
} else {
|
||||
|
@ -101,6 +102,7 @@ function setupSVGedit(path){
|
|||
window.close();
|
||||
}
|
||||
});
|
||||
editor.svgCanvas.randomizeIds();
|
||||
}, true);
|
||||
}
|
||||
SVGeditButton.disabled = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue