Fix IO note count (#2884)

This commit is contained in:
Abdo 2023-12-10 05:55:47 +03:00 committed by GitHub
parent 93738d1656
commit 6f3550464d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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