mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Committing color picker color changes tool to brush
This commit is contained in:
parent
473869b8ed
commit
e67ef4aec2
@ -689,6 +689,7 @@ export const canvasSlice = createSlice({
|
|||||||
},
|
},
|
||||||
commitColorPickerColor: (state) => {
|
commitColorPickerColor: (state) => {
|
||||||
state.brushColor = state.colorPickerColor;
|
state.brushColor = state.colorPickerColor;
|
||||||
|
state.tool = 'brush';
|
||||||
},
|
},
|
||||||
setMergedCanvas: (state, action: PayloadAction<CanvasImage>) => {
|
setMergedCanvas: (state, action: PayloadAction<CanvasImage>) => {
|
||||||
state.pastLayerStates.push({
|
state.pastLayerStates.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user