mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 05:52:42 -05:00
Update default mode order
This commit is contained in:
parent
748bd44cbc
commit
4e9108e8e3
1 changed files with 7 additions and 6 deletions
|
@ -186,6 +186,12 @@ class PaintEditorComponent extends React.Component {
|
||||||
{/* Modes */}
|
{/* Modes */}
|
||||||
{this.state.canvas ? (
|
{this.state.canvas ? (
|
||||||
<div className={styles.modeSelector}>
|
<div className={styles.modeSelector}>
|
||||||
|
<SelectMode
|
||||||
|
onUpdateSvg={this.props.onUpdateSvg}
|
||||||
|
/>
|
||||||
|
<ReshapeMode
|
||||||
|
onUpdateSvg={this.props.onUpdateSvg}
|
||||||
|
/>
|
||||||
<BrushMode
|
<BrushMode
|
||||||
canvas={this.state.canvas}
|
canvas={this.state.canvas}
|
||||||
onUpdateSvg={this.props.onUpdateSvg}
|
onUpdateSvg={this.props.onUpdateSvg}
|
||||||
|
@ -198,16 +204,11 @@ class PaintEditorComponent extends React.Component {
|
||||||
canvas={this.state.canvas}
|
canvas={this.state.canvas}
|
||||||
onUpdateSvg={this.props.onUpdateSvg}
|
onUpdateSvg={this.props.onUpdateSvg}
|
||||||
/>
|
/>
|
||||||
|
{/* Text mode will go here */}
|
||||||
<LineMode
|
<LineMode
|
||||||
canvas={this.state.canvas}
|
canvas={this.state.canvas}
|
||||||
onUpdateSvg={this.props.onUpdateSvg}
|
onUpdateSvg={this.props.onUpdateSvg}
|
||||||
/>
|
/>
|
||||||
<SelectMode
|
|
||||||
onUpdateSvg={this.props.onUpdateSvg}
|
|
||||||
/>
|
|
||||||
<ReshapeMode
|
|
||||||
onUpdateSvg={this.props.onUpdateSvg}
|
|
||||||
/>
|
|
||||||
<OvalMode
|
<OvalMode
|
||||||
onUpdateSvg={this.props.onUpdateSvg}
|
onUpdateSvg={this.props.onUpdateSvg}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue