Moved usage of Dimension directly inside the Container class and disable DimensionLayer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Siklos 2022-08-03 22:38:55 +02:00
parent 8cee366484
commit c5171caaaa
3 changed files with 35 additions and 2 deletions

View file

@ -80,7 +80,6 @@ export class SVG extends React.Component<ISVGProps> {
>
<svg ref={this.svg} {...properties}>
{ children }
<DimensionLayer isHidden={false} roots={this.props.children} />
</svg>
</ReactSVGPanZoom>
);