Fix dimension spacing depending on scale

This commit is contained in:
Eric NGUYEN 2022-09-13 09:46:02 +02:00
parent 063467fb58
commit 910aa4479b
5 changed files with 12 additions and 6 deletions

View file

@ -132,7 +132,7 @@ export function SVG(props: ISVGProps): JSX.Element {
{SHOW_DIMENSIONS_PER_DEPTH
? <DepthDimensionLayer scale={scale} roots={props.children} />
: null}
<SymbolLayer symbols={props.symbols} />
<SymbolLayer scale={scale} symbols={props.symbols} />
<Selector scale={scale} selected={props.selected} /> {/* leave this at the end so it can be removed during the svg export */}
</svg>
</ReactSVGPanZoom>