mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Fix IO text masks being grouped (#3128)
(cherry picked from commit 29bdc47482
)
This commit is contained in:
parent
ca24eed1ac
commit
e72fec18ae
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ export function extractShapesFromClozedField(
|
|||
group.push(buildShape(shape.shape, props));
|
||||
}
|
||||
}
|
||||
if (group.length > 1) {
|
||||
if (occlusion.ordinal === 0) {
|
||||
output.push(...group);
|
||||
} else if (group.length > 1) {
|
||||
output.push(group);
|
||||
} else {
|
||||
output.push(group[0]);
|
||||
|
|
Loading…
Reference in a new issue