Bug 515355: Zoom factor is not correct when double clicking a text. [r=bugmail]

This commit is contained in:
Fabrice Desré 2009-09-09 14:21:32 -04:00
Родитель 9b8a948882
Коммит 04f6d7cdb2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1009,7 +1009,7 @@ var Browser = {
/* Try to set zoom-level such that once zoomed element is as wide /* Try to set zoom-level such that once zoomed element is as wide
* as the visible rect */ * as the visible rect */
let zoomLevel = BrowserView.Util.clampZoomLevel((vrWidth + (2 * margin)) / elWidth); let zoomLevel = BrowserView.Util.clampZoomLevel((vrWidth - (2 * margin)) / elWidth);
let oldZoomLevel = bv.getZoomLevel(); let oldZoomLevel = bv.getZoomLevel();
//dump("element width: " + elWidth + "\n"); //dump("element width: " + elWidth + "\n");