Skip to content

Commit

Permalink
Merge pull request #1114 from mathjax/issue3250
Browse files Browse the repository at this point in the history
Fix bounding box computation for some embellished operators.  (mathjax/MathJax#3250)
  • Loading branch information
dpvc authored Jul 2, 2024
2 parents a56f679 + a5ddb12 commit 1c91d08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ts/output/common/Wrappers/mrow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ export function CommonMrowMixin<
breaks && this.computeChildLineBBox(child, i);
}
bbox.clean();
breaks && this.computeLinebreakBBox(bbox);
if (breaks && !this.coreMO().node.isEmbellished) {
this.computeLinebreakBBox(bbox);
}
if (this.fixesPWidth && this.setChildPWidths(recompute)) {
this.computeBBox(bbox, true);
}
Expand Down

0 comments on commit 1c91d08

Please sign in to comment.