зеркало из https://github.com/mozilla/gecko-dev.git
Bug 628660 - Gray area when navigating with the form assistant [r=mfinkle,stechz]
This commit is contained in:
Родитель
caef871fb9
Коммит
77ff625b93
|
@ -1041,7 +1041,12 @@ var Browser = {
|
|||
view.setScale(scale);
|
||||
view._contentView.scrollTo(scrollX, scrollY);
|
||||
|
||||
browser.scale = scale;
|
||||
// If the scale level doesn't change ensure the view is well refreshed
|
||||
// otherwise setting the scale level of the browser will do it
|
||||
if (scale == browser.scale)
|
||||
view._updateCacheViewport();
|
||||
else
|
||||
browser.scale = scale;
|
||||
},
|
||||
|
||||
zoomToPoint: function zoomToPoint(cX, cY, aRect) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче