Add todo to fix to SaveEditorAsSVG

This commit is contained in:
Eric NGUYEN 2023-02-10 17:24:53 +01:00
parent 2b7ff3a202
commit b35fa92422

View file

@ -53,6 +53,7 @@ export function SaveEditorAsSVG(): void {
svg.replaceChildren(...mainSvg); svg.replaceChildren(...mainSvg);
// remove the selector // remove the selector
// TODO: Fix this with SelectorMode != Nothing or with some html magic
const group = svg.children[svg.children.length - 1]; const group = svg.children[svg.children.length - 1];
group.removeChild(group.children[group.children.length - 1]); group.removeChild(group.children[group.children.length - 1]);
if (SHOW_SELECTOR_TEXT) { if (SHOW_SELECTOR_TEXT) {