From e33ce98af3cf4840c8a4949f5bfb1c8b4a00c721 Mon Sep 17 00:00:00 2001 From: adroitwhiz Date: Sat, 9 Jan 2021 11:37:51 -0500 Subject: [PATCH] Pass fixupSvgString into paint editor --- src/containers/paint-editor-wrapper.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/containers/paint-editor-wrapper.jsx b/src/containers/paint-editor-wrapper.jsx index c90f5e6f247..7e0f4c96ebe 100644 --- a/src/containers/paint-editor-wrapper.jsx +++ b/src/containers/paint-editor-wrapper.jsx @@ -3,7 +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 {inlineSvgFonts, fixupSvgString} from 'scratch-svg-renderer'; import {connect} from 'react-redux'; @@ -54,6 +54,7 @@ class PaintEditorWrapper extends React.Component { onUpdateImage={this.handleUpdateImage} onUpdateName={this.handleUpdateName} fontInlineFn={inlineSvgFonts} + fixupSvgStringFn={fixupSvgString} /> ); }