Committing color picker color changes tool to brush

This commit is contained in:
psychedelicious 2022-11-24 14:33:38 +11:00 committed by blessedcoolant
parent 473869b8ed
commit e67ef4aec2

View File

@ -689,6 +689,7 @@ export const canvasSlice = createSlice({
},
commitColorPickerColor: (state) => {
state.brushColor = state.colorPickerColor;
state.tool = 'brush';
},
setMergedCanvas: (state, action: PayloadAction<CanvasImage>) => {
state.pastLayerStates.push({