@@ -208,7 +208,8 @@ async function handleDraw(rect: { x: number; y: number; width: number; height: n
|
|||||||
if (!documentId) return;
|
if (!documentId) return;
|
||||||
|
|
||||||
if (transcribeMode) {
|
if (transcribeMode) {
|
||||||
onTranscriptionDraw?.({ ...rect, pageNumber: currentPage });
|
await onTranscriptionDraw?.({ ...rect, pageNumber: currentPage });
|
||||||
|
await loadAnnotations(documentId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user