Skip to content

Commit

Permalink
Automatic page reload for touch simulation in responsive design mode (#…
Browse files Browse the repository at this point in the history
…234)

When using the "Responsive Design Mode" [1] and the "touch simulation"
gets activated it requires the page to reload in order to work properly.
Firefox provides an option to automatically run this task which is now
enabled by default.

[1]: https://developer.mozilla.org/en-US/docs/Tools/Responsive_Design_Mode

Closes GH-222
  • Loading branch information
arcticicestudio authored Mar 24, 2020
1 parent 7e0d317 commit 95655f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snowblocks/firefox/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ user_pref("devtools.editor.detectindentation", true);
user_pref("devtools.editor.expandtab", true);
user_pref("devtools.editor.keymap", "default");
user_pref("devtools.editor.tabsize", 2);
user_pref("devtools.responsive.reloadConditions.touchSimulation", false);
user_pref("devtools.responsive.reloadConditions.userAgent", false);
user_pref("devtools.responsive.showUserAgentInput", false);
user_pref("devtools.inspector.showUserAgentStyles", true);
user_pref("devtools.markup.collapseAttributes", true);
user_pref("devtools.memory.enabled", true);
Expand Down

0 comments on commit 95655f1

Please sign in to comment.