aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/button/FontIconBox.tsx
diff options
context:
space:
mode:
authorNaafiyan Ahmed <naafiyan@gmail.com>2022-05-02 16:27:49 -0400
committerNaafiyan Ahmed <naafiyan@gmail.com>2022-05-02 16:27:49 -0400
commit8147fd7d80746114a2245237e4dab2c89e2d49a2 (patch)
treecef61fe4bd9f96296fab3c767ab99fecd7cc9793 /src/client/views/nodes/button/FontIconBox.tsx
parent45a753e0d6e812cd5653e9f0343bda5a1f231157 (diff)
working on getting subgroups to work
Diffstat (limited to 'src/client/views/nodes/button/FontIconBox.tsx')
-rw-r--r--src/client/views/nodes/button/FontIconBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/button/FontIconBox.tsx b/src/client/views/nodes/button/FontIconBox.tsx
index 1c2a22226..d87b23d86 100644
--- a/src/client/views/nodes/button/FontIconBox.tsx
+++ b/src/client/views/nodes/button/FontIconBox.tsx
@@ -711,7 +711,7 @@ export function checkInksToGroup() {
}
}
-export function createInkGroup(inksToGroup?: Doc[]) {
+export function createInkGroup(inksToGroup?: Doc[], isSubGroup?: boolean) {
// TODO nda - if document being added to is a inkGrouping then we can just add to that group
if (CurrentUserUtils.SelectedTool === InkTool.Write) {
CollectionFreeFormView.collectionsWithUnprocessedInk.forEach(ffView => {
@@ -767,7 +767,7 @@ export function createInkGroup(inksToGroup?: Doc[]) {
// TODO: nda - will probably need to go through and only remove the unprocessed selected docs
ffView.unprocessedDocs = [];
- InkTranscription.Instance.transcribeInk(newCollection, ffView.layoutDoc, selected, false);
+ InkTranscription.Instance.transcribeInk(newCollection, ffView.layoutDoc, selected, false, ffView);
});
}
CollectionFreeFormView.collectionsWithUnprocessedInk.clear();