mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 627103 - Don't wait for reflow to finish before zooming [r=mfinkle]
This commit is contained in:
parent
2c58d5ed1d
commit
acb86b6829
@ -503,6 +503,7 @@ let Content = {
|
||||
if (element) {
|
||||
rect = getBoundingContentRect(element);
|
||||
if (Services.prefs.getBoolPref("browser.ui.zoom.reflow")) {
|
||||
sendAsyncMessage("Browser:ZoomToPoint:Return", { x: x, y: y, zoomTo: rect });
|
||||
this._setTextZoom(Math.max(1, rect.width / json.width));
|
||||
|
||||
let oldRect = rect;
|
||||
|
Loading…
Reference in New Issue
Block a user