diff options
author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-06-24 13:05:02 -0400 |
---|---|---|
committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-06-24 13:05:02 -0400 |
commit | 20611e69b3f4afca5d35a440278f4dcbbda523c7 (patch) | |
tree | 1feb494964e6b72d8686253e8b1a593a12d7a8e2 /src/client/views/pdf/PDFViewer.tsx | |
parent | 6920c387edc480341771edb02f0ac1097c85ae25 (diff) |
language menu
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index 1af7b1fc0..9d06f81ed 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -556,7 +556,7 @@ export class PDFViewer extends ObservableReactComponent<IViewerProps> { const res = await gptAPICall(queryText, GPTCallType.FLASHCARD); console.log(res); - AnchorMenu.Instance.transferToFlashcard(res || 'Something went wrong'); + AnchorMenu.Instance.transferToFlashcard(res || 'Something went wrong', NumCast(this._props.layoutDoc['x']), NumCast(this._props.layoutDoc['y'])); this._selectionText = ''; } catch (err) { console.error(err); |