Allow zooming in WebView

Note that this does not force-enable zooming on pages with set viewports (which typically implies proper mobile scaling).
Closes #8588

(cherry picked from commit 2a2c6cee5f)
This commit is contained in:
arkon
2022-11-21 18:39:16 -05:00
committed by Jobobby04
parent ed59ba07c1
commit 6a79e90b53
2 changed files with 9 additions and 1 deletions
@@ -40,6 +40,11 @@ fun WebView.setDefaultSettings() {
useWideViewPort = true
loadWithOverviewMode = true
cacheMode = WebSettings.LOAD_DEFAULT
// Allow zooming
setSupportZoom(true)
builtInZoomControls = true
displayZoomControls = false
}
}