mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
topology: improve settings of SVGPanZoom
This commit is contained in:
parent
8d87a6a828
commit
25ce9c0826
1 changed files with 5 additions and 1 deletions
|
@ -156,8 +156,12 @@ class WidgetTopology extends React.Component {
|
|||
markup = (<div>
|
||||
<ReactSVGPanZoom
|
||||
ref={Viewer => this.Viewer = Viewer}
|
||||
style={{outline: "1px solid black"}}
|
||||
style={{outline: "1px solid grey"}}
|
||||
detectAutoPan={false}
|
||||
miniaturePosition="none"
|
||||
toolbarPosition="none"
|
||||
background="white"
|
||||
tool="pan"
|
||||
width={this.props.widget.width-2} height={this.props.widget.height-2} >
|
||||
<svg width={this.props.widget.width} height={this.props.widget.height}>
|
||||
<svg ref={ c => this.svgElem = c }width={this.props.widget.width} height={this.props.widget.height}>
|
||||
|
|
Loading…
Add table
Reference in a new issue