diff --git a/src/containers/costume-tab.jsx b/src/containers/costume-tab.jsx index 2e897c451031eae029dad95609c484f2ef645d72..c54f2667f855b022f419be5d72de874111a302f6 100644 --- a/src/containers/costume-tab.jsx +++ b/src/containers/costume-tab.jsx @@ -218,7 +218,6 @@ class CostumeTab extends React.Component { > {target.costumes ? <PaintEditorWrapper - {...props} selectedCostumeIndex={this.state.selectedCostumeIndex} /> : null diff --git a/src/containers/paint-editor-wrapper.jsx b/src/containers/paint-editor-wrapper.jsx index 38cb3aa4a818b92ccc0ca2fa5a7946f0ade90a86..52bb5708f9c13e928be7fc6fd909fd0970c9b722 100644 --- a/src/containers/paint-editor-wrapper.jsx +++ b/src/containers/paint-editor-wrapper.jsx @@ -59,7 +59,8 @@ const mapStateToProps = (state, {selectedCostumeIndex}) => { name: costume && costume.name, rotationCenterX: costume && costume.rotationCenterX, rotationCenterY: costume && costume.rotationCenterY, - svgId: editingTarget && `${editingTarget}${costume.skinId}` + svgId: editingTarget && `${editingTarget}${costume.skinId}`, + vm: state.vm }; };