From 6f3550464d37aee1b8b784e431cbfce8382d3ce7 Mon Sep 17 00:00:00 2001 From: Abdo Date: Sun, 10 Dec 2023 05:55:47 +0300 Subject: [PATCH] Fix IO note count (#2884) --- ts/image-occlusion/shapes/to-cloze.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/image-occlusion/shapes/to-cloze.ts b/ts/image-occlusion/shapes/to-cloze.ts index 41120a491..1923dab6d 100644 --- a/ts/image-occlusion/shapes/to-cloze.ts +++ b/ts/image-occlusion/shapes/to-cloze.ts @@ -27,7 +27,7 @@ export function exportShapesToClozeDeletions(occludeInactive: boolean): { } }); - return { clozes, noteCount: shapes.length }; + return { clozes, noteCount: index }; } /** Gather all Fabric shapes, and convert them into BaseShapes or