Skip to content
Snippets Groups Projects
Commit 6b979cbf authored by DD Liu's avatar DD Liu
Browse files

Pass svg-renderer function to Paint

parent 3fd4648e
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ import React from 'react';
import bindAll from 'lodash.bindall';
import VM from 'scratch-vm';
import PaintEditor from 'scratch-paint';
import {inlineSvgFonts} from 'scratch-svg-renderer';
import {connect} from 'react-redux';
......@@ -52,6 +53,7 @@ class PaintEditorWrapper extends React.Component {
image={vm.getCostume(selectedCostumeIndex)}
onUpdateImage={this.handleUpdateImage}
onUpdateName={this.handleUpdateName}
fontInlineFn={inlineSvgFonts}
/>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment