mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Color picker does not overwrite user-selected alpha
This commit is contained in:
committed by
blessedcoolant
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>) => {
|
||||
|
||||
Reference in New Issue
Block a user