Fix symbol's translate making the symbol overlap with the containers
This commit is contained in:
parent
2cb851866b
commit
7121f0aae5
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export function Symbol(props: ISymbolProps): JSX.Element {
|
||||||
preserveAspectRatio="none"
|
preserveAspectRatio="none"
|
||||||
style={{
|
style={{
|
||||||
fill: 'none',
|
fill: 'none',
|
||||||
transform: `scale(${1 / props.scale}) translateX(-50%) translateY(-50%)`,
|
transform: `scale(${1 / props.scale}) translateX(-50%) translateY(-100%)`,
|
||||||
transformBox: 'fill-box'
|
transformBox: 'fill-box'
|
||||||
}}
|
}}
|
||||||
x={props.model.x}
|
x={props.model.x}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue