Add todo to add viewbox (#446)

This commit is contained in:
DD Liu 2018-05-16 15:34:00 -04:00 committed by GitHub
parent 063ba60f54
commit 7f216defd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,6 +133,7 @@ class PaintEditor extends React.Component {
// Export at 0.5x
scaleWithStrokes(paper.project.activeLayer, .5, new paper.Point());
const bounds = paper.project.activeLayer.bounds;
// @todo generate view box
this.props.onUpdateImage(
true /* isVector */,
paper.project.exportSVG({