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