Skip to content
Snippets Groups Projects
Commit cc4f6712 authored by DD's avatar DD
Browse files

pass svg to the paint editor

parent f91f328f
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,10 @@ class CostumeTab extends React.Component {
onDeleteClick={this.handleDeleteCostume}
onItemClick={this.handleSelectCostume}
>
<PaintEditor/>
{target.costumes ?
<PaintEditor svg={this.props.vm.getCostumeSVG(this.state.selectedCostumeIndex)}/>
: null
}
</AssetPanel>
);
}
......
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