mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813616 - Ensure the reflow-on-zoom pref change is picked up even while the content document is not visible. r=jwir3
This commit is contained in:
parent
12803634ae
commit
92bf35b49f
@ -3721,6 +3721,11 @@ var BrowserEventHandler = {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
} else if (aTopic == "nsPref:changed") {
|
||||||
|
if (aData == "browser.zoom.reflowOnZoom") {
|
||||||
|
this.updateReflozPref();
|
||||||
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the remaining events are all dependent on the browser content document being the
|
// the remaining events are all dependent on the browser content document being the
|
||||||
@ -3800,10 +3805,6 @@ var BrowserEventHandler = {
|
|||||||
this.onPinch(aData);
|
this.onPinch(aData);
|
||||||
} else if (aTopic == "MozMagnifyGesture") {
|
} else if (aTopic == "MozMagnifyGesture") {
|
||||||
this.onPinchFinish(aData, this._mLastPinchPoint.x, this._mLastPinchPoint.y);
|
this.onPinchFinish(aData, this._mLastPinchPoint.x, this._mLastPinchPoint.y);
|
||||||
} else if (aTopic == "nsPref:changed") {
|
|
||||||
if (aData == "browser.zoom.reflowOnZoom") {
|
|
||||||
this.updateReflozPref();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user