mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Mask Brush Preview now always at 0.5 opacity
The new mask is only visible properly at max opacity but at max opacity the brush preview becomes fully opaque blocking the view. So the mask brush preview no remains at 0.5 no matter what the Brush opacity is.
This commit is contained in:
parent
5410d42da0
commit
775f032c56
@ -30,7 +30,7 @@ const canvasBrushPreviewSelector = createSelector(
|
||||
height,
|
||||
radius: tool === 'brush' ? brushSize / 2 : eraserSize / 2,
|
||||
brushColorString: rgbaColorToString(
|
||||
layer === 'mask' ? maskColor : brushColor
|
||||
layer === 'mask' ? { ...maskColor, a: 0.5 } : brushColor
|
||||
),
|
||||
tool,
|
||||
shouldShowBrush,
|
||||
|
Loading…
Reference in New Issue
Block a user