frontend: fix repaint color
This commit is contained in:
parent
bd55feb3a5
commit
293b5ba3f3
@ -49,7 +49,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
|
|||||||
<Comp
|
<Comp
|
||||||
className={cn(
|
className={cn(
|
||||||
buttonVariants({ variant, size, className }),
|
buttonVariants({ variant, size, className }),
|
||||||
"outline-none cursor-default"
|
"outline-none cursor-default select-none"
|
||||||
)}
|
)}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
|
@ -493,7 +493,8 @@ export const useStore = createWithEqualityFn<AppState & AppAction>()(
|
|||||||
imageWidth,
|
imageWidth,
|
||||||
imageHeight,
|
imageHeight,
|
||||||
[maskLineGroup],
|
[maskLineGroup],
|
||||||
maskImages
|
maskImages,
|
||||||
|
BRUSH_COLOR
|
||||||
)
|
)
|
||||||
if (useLastLineGroup) {
|
if (useLastLineGroup) {
|
||||||
const temporaryMask = await canvasToImage(maskCanvas)
|
const temporaryMask = await canvasToImage(maskCanvas)
|
||||||
|
Loading…
Reference in New Issue
Block a user