зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1657627 - Refine condition used in temporary workaround code. r=botond
This restricts the workaround to mobile a bit better, since the GetIsViewportOverridden() check returns true on desktop as of bug 1644271. Differential Revision: https://phabricator.services.mozilla.com/D86414
This commit is contained in:
Родитель
227741192b
Коммит
cbcdeefeb3
|
@ -2852,7 +2852,7 @@ void ScrollFrameHelper::ScrollToImpl(nsPoint aPt, const nsRect& aRange,
|
|||
// in the first place, because it causes various regressions (bug 1543485
|
||||
// tracks a proper fix).
|
||||
bool suppressScrollOriginChange = false;
|
||||
if (presContext->PresShell()->GetIsViewportOverridden() && aPt == curPos) {
|
||||
if (StaticPrefs::apz_allow_zooming() && aPt == curPos) {
|
||||
suppressScrollOriginChange = true;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче