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
This commit is contained in:
arkon
2022-11-21 18:39:16 -05:00
parent 7dff3cc6cb
commit 2a2c6cee5f
2 changed files with 9 additions and 1 deletions

View File

@ -40,6 +40,11 @@ fun WebView.setDefaultSettings() {
useWideViewPort = true
loadWithOverviewMode = true
cacheMode = WebSettings.LOAD_DEFAULT
// Allow zooming
setSupportZoom(true)
builtInZoomControls = true
displayZoomControls = false
}
}