зеркало из https://github.com/mozilla/gecko-dev.git
Bug 494715: When panning the content and switching tabs, viewport can be wrong, r=combee
This commit is contained in:
Родитель
716958ef3d
Коммит
1d52d3d4f6
|
@ -768,6 +768,9 @@ WidgetStack.prototype = {
|
|||
if (this._skipViewportUpdates)
|
||||
return
|
||||
|
||||
if (this._forceViewportUpdate)
|
||||
this._viewportUpdate();
|
||||
|
||||
let boundsSizeChanged =
|
||||
this._startViewportBoundsString != this._viewportBounds.toString();
|
||||
this._callViewportUpdateHandler(boundsSizeChanged || this._forceViewportUpdate);
|
||||
|
|
Загрузка…
Ссылка в новой задаче