mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-15 05:48:04 -05:00
fix(ui): color picker resets brush opacity
This commit is contained in:
@@ -199,7 +199,7 @@ export const setStageEventHandlers = (manager: CanvasManager): (() => void) => {
|
||||
manager.stateApi.$colorUnderCursor.set(color);
|
||||
}
|
||||
if (color) {
|
||||
manager.stateApi.setFill({ ...color, a: 1 });
|
||||
manager.stateApi.setFill({ ...toolState.fill, ...color });
|
||||
}
|
||||
manager.preview.tool.render();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user