Remove selector from svg export + fix svg format
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Siklos 2022-08-18 17:10:28 +02:00
parent 22ac06bf0c
commit 58ef28fe89
2 changed files with 37 additions and 7 deletions

View file

@ -76,12 +76,12 @@ export const SVG: React.FC<ISVGProps> = (props: ISVGProps) => {
>
<svg {...properties}>
{ children }
<Selector selected={props.selected} />
{
SHOW_DIMENSIONS_PER_DEPTH
? <DepthDimensionLayer roots={props.children}/>
: null
}
<Selector selected={props.selected} /> {/* leave this at the end so it can be removed during the svg export */}
</svg>
</UncontrolledReactSVGPanZoom>
</div>