mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-12-18 20:04:17 +01:00
Update frontend/src/components/annotation/shared/DrawingCanvas.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
5db6b85fb9
commit
fdba336c05
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user