Skip to content

Commit ecf3f6e

Browse files
authored
Merge pull request #6262 from fsih/takeSvgRend
Pass svg-renderer function to Paint
2 parents b514a79 + 898fc26 commit ecf3f6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/containers/paint-editor-wrapper.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import React from 'react';
33
import bindAll from 'lodash.bindall';
44
import VM from 'scratch-vm';
55
import PaintEditor from 'scratch-paint';
6+
import {inlineSvgFonts} from 'scratch-svg-renderer';
67

78
import {connect} from 'react-redux';
89

@@ -52,6 +53,7 @@ class PaintEditorWrapper extends React.Component {
5253
image={vm.getCostume(selectedCostumeIndex)}
5354
onUpdateImage={this.handleUpdateImage}
5455
onUpdateName={this.handleUpdateName}
56+
fontInlineFn={inlineSvgFonts}
5557
/>
5658
);
5759
}

0 commit comments

Comments
 (0)