aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/AnchorMenu.tsx
diff options
context:
space:
mode:
authoralyssaf16 <alyssa_feinberg@brown.edu>2024-06-23 19:58:19 -0400
committeralyssaf16 <alyssa_feinberg@brown.edu>2024-06-23 19:58:19 -0400
commit6920c387edc480341771edb02f0ac1097c85ae25 (patch)
tree1e77f157eb45a726b9d0649717c67fcf1bef871d /src/client/views/pdf/AnchorMenu.tsx
parent3ae9af9228a050fbe7f48c800701ae4399850f35 (diff)
audio quiz cards
Diffstat (limited to 'src/client/views/pdf/AnchorMenu.tsx')
-rw-r--r--src/client/views/pdf/AnchorMenu.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/pdf/AnchorMenu.tsx b/src/client/views/pdf/AnchorMenu.tsx
index 87031487f..dcd76979f 100644
--- a/src/client/views/pdf/AnchorMenu.tsx
+++ b/src/client/views/pdf/AnchorMenu.tsx
@@ -142,6 +142,7 @@ export class AnchorMenu extends AntimodeMenu<AntimodeMenuProps> {
console.log('Arr ' + i + ': ' + senArr[i]);
const newDoc = Docs.Create.ComparisonDocument(senArr[i], { _layout_isFlashcard: true, _width: 300, _height: 300 });
newDoc.text = senArr[i];
+
collectionArr.push(newDoc);
}
// create a new carousel collection of these flashcards
@@ -152,6 +153,7 @@ export class AnchorMenu extends AntimodeMenu<AntimodeMenuProps> {
_layout_autoHeight: true,
});
+ console.log(collectionArr);
newCol.x = this._x;
newCol.y = this._y;
newCol.zIndex = 100;