mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 515355: Zoom factor is not correct when double clicking a text. [r=bugmail]
This commit is contained in:
parent
06f8e65f31
commit
ded67c894a
@ -1009,7 +1009,7 @@ var Browser = {
|
||||
|
||||
/* Try to set zoom-level such that once zoomed element is as wide
|
||||
* 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();
|
||||
|
||||
//dump("element width: " + elWidth + "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user