mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-10 14:42:13 -05:00
Add todo to add viewbox (#446)
This commit is contained in:
parent
063ba60f54
commit
7f216defd2
1 changed files with 1 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue