set scaling factor to 0.01 times smaller; the xFactor and yFactor fractions seem to give a slightly larger size (on Firefox 6.02).

This commit is contained in:
daniel kho 2011-09-11 07:09:13 +08:00
parent d3abfcf34d
commit 29be627641
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ rescaleAuto = function() {
/* Rescale screen to whichever factor that is smaller (so we get to see the whole screen). */
factor=xFactor<yFactor?xFactor:yFactor;
factor-=0.01;
c.style.MozTransform = "scale(" + factor + ")";
c.style.MozTransformOrigin = "top left";