Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix autozoom disable (#3360)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin committed May 11, 2020
1 parent d7a249c commit 915d86d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ object EngineProvider {
builder.screenSizeOverride(SettingsStore.getInstance(context).maxWindowWidth,
SettingsStore.getInstance(context).maxWindowHeight)
builder.useMultiprocess(true)
builder.inputAutoZoomEnabled(false)
builder.doubleTapZoomingEnabled(false)

if (SettingsStore.getInstance(context).transparentBorderWidth > 0) {
builder.useMaxScreenDepth(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@ public static void vrPrefsWorkAround(Context aContext, Bundle aExtras) {
out.write("user_pref(\"webgl.enable-surface-texture\", true);\n".getBytes());
// Enable MultiView draft extension
out.write("user_pref(\"webgl.enable-draft-extensions\", true);\n".getBytes());
out.write("user_pref(\"apz.allow_double_tap_zooming\", false);\n".getBytes());
out.write("user_pref(\"dom.webcomponents.customelements.enabled\", true);\n".getBytes());
out.write("user_pref(\"javascript.options.ion\", true);\n".getBytes());
out.write("user_pref(\"media.webspeech.synth.enabled\", false);\n".getBytes());
// Prevent autozoom when giving a form field focus.
out.write("user_pref(\"formhelper.autozoom\", false);\n".getBytes());
// Disable WebRender until it works with FxR
out.write("user_pref(\"gfx.webrender.force-disabled\", true);\n".getBytes());
out.write("user_pref(\"signon.rememberSignons\", false);\n".getBytes());
// Disable web extension process until it is able to restart.
out.write("user_pref(\"extensions.webextensions.remote\", false);\n".getBytes());
int msaa = SettingsStore.getInstance(aContext).getMSAALevel();
Expand Down

0 comments on commit 915d86d

Please sign in to comment.