mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-04-16 23:08:38 +02:00
Update frontend/src/components/annotation/shared/DrawingCanvas.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -64,7 +64,7 @@ export const DrawingCanvas: React.FC<DrawingCanvasProps> = ({
|
|||||||
padRef.current = null;
|
padRef.current = null;
|
||||||
}
|
}
|
||||||
setModalOpen(true);
|
setModalOpen(true);
|
||||||
};1
|
};
|
||||||
|
|
||||||
const trimCanvas = (canvas: HTMLCanvasElement): string => {
|
const trimCanvas = (canvas: HTMLCanvasElement): string => {
|
||||||
const ctx = canvas.getContext('2d');
|
const ctx = canvas.getContext('2d');
|
||||||
|
|||||||
Reference in New Issue
Block a user