Merge pull request #2883 from weaveworks/fixes-save-as-svg

Fixes "Save as svg" functionality.
This commit is contained in:
Simon
2017-10-10 17:51:00 +02:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ class ZoomableCanvas extends React.Component {
return (
<div className="zoomable-canvas">
<svg className={className} onClick={this.props.onClick} onWheel={this.handleZoom}>
<svg id="canvas" className={className} onClick={this.props.onClick} onWheel={this.handleZoom}>
<Logo transform="translate(24,24) scale(0.25)" />
<g className="zoom-content">
{this.props.children(this.state)}