Update frontend/src/components/annotation/shared/DrawingCanvas.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Reece Browne
2025-10-08 14:57:29 +01:00
committed by GitHub
parent 5db6b85fb9
commit fdba336c05

View File

@@ -64,7 +64,7 @@ export const DrawingCanvas: React.FC<DrawingCanvasProps> = ({
padRef.current = null;
}
setModalOpen(true);
};1
};
const trimCanvas = (canvas: HTMLCanvasElement): string => {
const ctx = canvas.getContext('2d');