From 293b5ba3f3091de1d69040e629f5aa5547734d42 Mon Sep 17 00:00:00 2001 From: Qing Date: Thu, 15 Feb 2024 21:52:52 +0800 Subject: [PATCH] frontend: fix repaint color --- web_app/src/components/ui/button.tsx | 2 +- web_app/src/lib/states.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web_app/src/components/ui/button.tsx b/web_app/src/components/ui/button.tsx index f93111c..6647b5f 100644 --- a/web_app/src/components/ui/button.tsx +++ b/web_app/src/components/ui/button.tsx @@ -49,7 +49,7 @@ const Button = React.forwardRef( ()( imageWidth, imageHeight, [maskLineGroup], - maskImages + maskImages, + BRUSH_COLOR ) if (useLastLineGroup) { const temporaryMask = await canvasToImage(maskCanvas)