mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-08 13:42:00 -05:00
Update default mode in reducer
This commit is contained in:
parent
4e9108e8e3
commit
4d0f3e8311
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import Modes from '../modes/modes';
|
|||
import log from '../log/log';
|
||||
|
||||
const CHANGE_MODE = 'scratch-paint/modes/CHANGE_MODE';
|
||||
const initialState = Modes.BRUSH;
|
||||
const initialState = Modes.SELECT;
|
||||
|
||||
const reducer = function (state, action) {
|
||||
if (typeof state === 'undefined') state = initialState;
|
||||
|
|
Loading…
Reference in a new issue