commit db2869a2d30c782215a7a10eb74f795addc0fa6e
parent 516874b50c9e86b7534f655cf4b356b72c0e6fac
Author: zorkow <volker.sorge@gmail.com>
Date: Tue, 1 Sep 2015 19:08:08 +0100
Increase in minimum width of source window to fix problem on Chrome.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js
@@ -1148,7 +1148,7 @@
var table = w.document.body.firstChild;
setTimeout(function () {
var H = (w.outerHeight-w.innerHeight)||30, W = (w.outerWidth-w.innerWidth)||30, x, y;
- W = Math.max(100,Math.min(Math.floor(.5*screen.width),table.offsetWidth+W+25));
+ W = Math.max(140,Math.min(Math.floor(.5*screen.width),table.offsetWidth+W+25));
H = Math.max(40,Math.min(Math.floor(.5*screen.height),table.offsetHeight+H+25));
if (MENU.prototype.msieHeightBug) {H += 35}; // for title bar in XP
w.resizeTo(W,H);