From 25ce9c08263ced02ccd5992b8a1923dd3dceec2c Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 14 Jun 2018 19:48:46 +0200 Subject: [PATCH] topology: improve settings of SVGPanZoom --- src/components/widget-topology.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/widget-topology.js b/src/components/widget-topology.js index bab361b..82e855e 100644 --- a/src/components/widget-topology.js +++ b/src/components/widget-topology.js @@ -156,8 +156,12 @@ class WidgetTopology extends React.Component { markup = (
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} > this.svgElem = c }width={this.props.widget.width} height={this.props.widget.height}>