Skip to content

Commit 9c7794e

Browse files
authored
Merge pull request #700 from mathjax/Vert-delim
Fix error where a second use of \| delim causes the wrong size to be used.
2 parents 50fe516 + 4e07aa8 commit 9c7794e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ts/output/common/Wrappers

ts/output/common/Wrappers/mo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export function CommonMoMixin<T extends WrapperConstructor>(Base: T): MoConstruc
273273
this.variant = this.font.getSizeVariant(c, i);
274274
this.size = i;
275275
if (delim.schar && delim.schar[i]) {
276-
this.stretch.c = delim.schar[i];
276+
this.stretch = {...this.stretch, c: delim.schar[i]};
277277
}
278278
return;
279279
}

0 commit comments

Comments
 (0)