frontend: fix repaint color
This commit is contained in:
		
							parent
							
								
									bd55feb3a5
								
							
						
					
					
						commit
						293b5ba3f3
					
				| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue