Skip to content

Commit

Permalink
Merge branch 'jb50748' into 'master'
Browse files Browse the repository at this point in the history
Increase touch responsiveness

See merge request mer-core/gecko-dev!131
  • Loading branch information
llewelld committed Aug 10, 2020
2 parents 5f8b7d1 + 3710ace commit 7905acb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions embedding/embedlite/embedding.js
Expand Up @@ -91,6 +91,12 @@ pref("apz.overscroll.spring_friction", "0.015");
pref("apz.overscroll.stop_distance_threshold", "5.0");
pref("apz.overscroll.stop_velocity_threshold", "0.01");

// Improves the responsiveness of content actions, see bug #1247280
pref("apz.content_response_timeout", 600);
// Turning off touch-action gives more responsive touch panning
// counteracting the effect of the increased response timeout
pref("layout.css.touch_action.enabled", false);

pref("ui.dragThresholdX", 25);
pref("ui.dragThresholdY", 25);
pref("embedlite.dispatch_mouse_events", false); // Will dispatch mouse events if page using them
Expand Down

0 comments on commit 7905acb

Please sign in to comment.