Skip to content

Commit 2624516

Browse files
committed
Make changes suggested in review
1 parent 2bde9c8 commit 2624516

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ts/output/common/Wrappers/mtable.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -728,12 +728,10 @@ export function CommonMtableMixin<
728728
//
729729
const TW = this.getTableData().W;
730730
for (const child of stretchy) {
731+
const w = child.getBBox().w;
731732
child
732733
.coreMO()
733-
.getStretchedVariant([
734-
Math.max(W, child.getBBox().w) / child.coreRScale(),
735-
]);
736-
const w = child.getBBox().w;
734+
.getStretchedVariant([Math.max(W, w) / child.coreRScale()]);
737735
if (w > TW[i]) {
738736
TW[i] = w;
739737
}

0 commit comments

Comments
 (0)