Skip to content

Commit 9d71f3c

Browse files
authored
Merge pull request #1941 from dpvc/issue1933
Handle size of centered large operators correctly in mrows. #1933
2 parents 1e28a76 + b6e96d9 commit 9d71f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unpacked/jax/output/SVG/jax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -962,8 +962,8 @@
962962
Check: function (data) {
963963
var svg = data.toSVG(); this.svg.push(svg);
964964
if (data.SVGcanStretch("Vertical")) {svg.mml = data}
965-
if (svg.h > this.sh) {this.sh = svg.h}
966-
if (svg.d > this.sd) {this.sd = svg.d}
965+
if (svg.h + svg.y > this.sh) {this.sh = svg.h + svg.y}
966+
if (svg.d - svg.y > this.sd) {this.sd = svg.d - svg.y}
967967
},
968968
Stretch: function () {
969969
for (var i = 0, m = this.svg.length; i < m; i++)

0 commit comments

Comments
 (0)