mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Color picker does not overwrite user-selected alpha
This commit is contained in:
parent
e67ef4aec2
commit
db188cd3c3
@ -688,7 +688,10 @@ export const canvasSlice = createSlice({
|
||||
state.colorPickerColor = action.payload;
|
||||
},
|
||||
commitColorPickerColor: (state) => {
|
||||
state.brushColor = state.colorPickerColor;
|
||||
state.brushColor = {
|
||||
...state.colorPickerColor,
|
||||
a: state.brushColor.a,
|
||||
};
|
||||
state.tool = 'brush';
|
||||
},
|
||||
setMergedCanvas: (state, action: PayloadAction<CanvasImage>) => {
|
||||
|
Loading…
Reference in New Issue
Block a user