From 2cce7108266b13a1c5499401064e397d173f6089 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sat, 22 Aug 2015 07:52:25 -0400 Subject: [PATCH] Handle align attribute for munderover --- unpacked/jax/output/CommonHTML/jax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index 96b272758..bfc1ca683 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -2162,7 +2162,7 @@ for (i = 0; i < m; i++) { scale = (i === this.base ? 1 : boxes[i].rscale); var w = scale*(boxes[i].w + (boxes[i].L||0) + (boxes[i].R||0)); - boxes[i].x += (W-w)/2; + boxes[i].x += {left:0, center:(W-w)/2, right:W-w}[values.align]; if (boxes[i].x < dx) dx = boxes[i].x; } for (i = 0; i < m; i++) {