feat: update project structure for Vite and React Router, remove deprecated sources, and enhance Docker deployment

This commit is contained in:
HouYunFei
2026-07-05 11:38:42 +08:00
parent 443afab7bd
commit cebc3dc5c2
16 changed files with 60 additions and 50 deletions
@@ -43,7 +43,7 @@ export function CanvasNodeMaskEditDialog({ dataUrl, open, onClose, onConfirm }:
const point = readCanvasPoint(event.currentTarget, event.clientX, event.clientY);
const maskCanvas = maskCanvasRef.current;
const context = maskCanvas?.getContext("2d");
if (!context) return;
if (!maskCanvas || !context) return;
context.lineCap = "round";
context.lineJoin = "round";
context.lineWidth = brushSize;