Update default mode order

This commit is contained in:
Paul Kaplan 2017-10-24 15:51:57 -04:00
parent 748bd44cbc
commit 4e9108e8e3

View file

@ -186,6 +186,12 @@ class PaintEditorComponent extends React.Component {
{/* Modes */}
{this.state.canvas ? (
<div className={styles.modeSelector}>
<SelectMode
onUpdateSvg={this.props.onUpdateSvg}
/>
<ReshapeMode
onUpdateSvg={this.props.onUpdateSvg}
/>
<BrushMode
canvas={this.state.canvas}
onUpdateSvg={this.props.onUpdateSvg}
@ -198,16 +204,11 @@ class PaintEditorComponent extends React.Component {
canvas={this.state.canvas}
onUpdateSvg={this.props.onUpdateSvg}
/>
{/* Text mode will go here */}
<LineMode
canvas={this.state.canvas}
onUpdateSvg={this.props.onUpdateSvg}
/>
<SelectMode
onUpdateSvg={this.props.onUpdateSvg}
/>
<ReshapeMode
onUpdateSvg={this.props.onUpdateSvg}
/>
<OvalMode
onUpdateSvg={this.props.onUpdateSvg}
/>