mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1197824 - Allow zooming in desktop mode. r=botond
This is a long-standing issue that has thus far never been exposed because the values modified in this patch have not been used (desktop mode only exists on Fennec, and Fennec does it's own computation for these values in browser.js). However upcoming patches will change Fennec to use this, and so this issue needs to be corrected. --HG-- extra : commitid : 9BjFOc4PdLc
This commit is contained in:
parent
58f4d549fb
commit
d4692f7345
@ -7934,8 +7934,8 @@ nsDocument::GetViewportInfo(const ScreenIntSize& aDisplaySize)
|
||||
ScreenSize viewportSize(viewportWidth, viewportWidth * aspectRatio);
|
||||
return nsViewportInfo(RoundedToInt(viewportSize),
|
||||
CSSToScreenScale(scaleToFit),
|
||||
/*allowZoom*/false,
|
||||
/*allowDoubleTapZoom*/ false);
|
||||
/*allowZoom*/ true,
|
||||
/*allowDoubleTapZoom*/ true);
|
||||
}
|
||||
|
||||
if (!gfxPrefs::MetaViewportEnabled()) {
|
||||
|
Loading…
Reference in New Issue
Block a user