From 93cd9b3da17c2a90b98dcef15104c7dc620b1de8 Mon Sep 17 00:00:00 2001 From: MS_Y Date: Mon, 23 Aug 2021 02:11:37 +0000 Subject: [PATCH] Fix: Smooth scrolling v2.0 --- Tips.md | 49 ++++++++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/Tips.md b/Tips.md index eb8daab..051aa92 100644 --- a/Tips.md +++ b/Tips.md @@ -10,30 +10,37 @@ Replace to this code: https://github.com/black7375/Firefox-UI-Fix/blob/855742f6c ```js // By u/aveyo Origianl user_pref("apz.allow_zooming", true); /// true -user_pref("apz.force_disable_desktop_zooming_scrollbars", true); /// false -user_pref("apz.paint_skipping.enabled", false); /// true +user_pref("apz.force_disable_desktop_zooming_scrollbars", false); /// false +user_pref("apz.paint_skipping.enabled", true); /// true +user_pref("apz.windows.use_direct_manipulation", true); /// true user_pref("dom.event.wheel-deltaMode-lines.always-disabled", true); /// false -user_pref("general.smoothScroll.currentVelocityWeighting", "0.0"); /// "0.25" -user_pref("general.smoothScroll.durationToIntervalRatio", 400); /// 400 -user_pref("general.smoothScroll.lines.durationMaxMS", 300); /// 150 -user_pref("general.smoothScroll.lines.durationMinMS", 300); /// 150 -user_pref("general.smoothScroll.mouseWheel.durationMaxMS", 300); /// 200 -user_pref("general.smoothScroll.mouseWheel.durationMinMS", 300); /// 50 +user_pref("general.smoothScroll.currentVelocityWeighting", "0.01"); /// "0.25" +user_pref("general.smoothScroll.durationToIntervalRatio", 1000); /// 200 +user_pref("general.smoothScroll.lines.durationMaxMS", 100); /// 150 +user_pref("general.smoothScroll.lines.durationMinMS", 0); /// 150 +user_pref("general.smoothScroll.mouseWheel.durationMaxMS", 100); /// 200 +user_pref("general.smoothScroll.mouseWheel.durationMinMS", 0); /// 50 user_pref("general.smoothScroll.mouseWheel.migrationPercent", 100); /// 100 -user_pref("general.smoothScroll.msdPhysics.enabled", false); /// false -user_pref("general.smoothScroll.other.durationMaxMS", 150); /// 150 -user_pref("general.smoothScroll.other.durationMinMS", 150); /// 150 -user_pref("general.smoothScroll.pages.durationMaxMS", 200); /// 150 -user_pref("general.smoothScroll.pages.durationMinMS", 200); /// 150 -user_pref("general.smoothScroll.pixels.durationMaxMS", 300); /// 150 -user_pref("general.smoothScroll.pixels.durationMinMS", 300); /// 150 -user_pref("general.smoothScroll.scrollbars.durationMaxMS", 500); /// 150 -user_pref("general.smoothScroll.scrollbars.durationMinMS", 500); /// 150 -user_pref("general.smoothScroll.stopDecelerationWeighting", "0.0"); /// "0.4" +user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12); /// 120 +user_pref("general.smoothScroll.msdPhysics.enabled", true); /// false +user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 200); /// 1250 +user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 200); /// 1000 +user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 10); /// 12 +user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "1.20"); /// "1.3" +user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 1000); /// 2000 +user_pref("general.smoothScroll.other.durationMaxMS", 100); /// 150 +user_pref("general.smoothScroll.other.durationMinMS", 0); /// 150 +user_pref("general.smoothScroll.pages.durationMaxMS", 100); /// 150 +user_pref("general.smoothScroll.pages.durationMinMS", 0); /// 150 +user_pref("general.smoothScroll.pixels.durationMaxMS", 100); /// 150 +user_pref("general.smoothScroll.pixels.durationMinMS", 0); /// 150 +user_pref("general.smoothScroll.scrollbars.durationMaxMS", 100); /// 150 +user_pref("general.smoothScroll.scrollbars.durationMinMS", 0); /// 150 +user_pref("general.smoothScroll.stopDecelerationWeighting", "0.001"); /// "0.4" user_pref("layers.async-pan-zoom.enabled", true); /// true -user_pref("layout.css.scroll-behavior.spring-constant", "300.0"); /// "250.0" -user_pref("mousewheel.acceleration.factor", 5); /// 10 -user_pref("mousewheel.acceleration.start", 4); /// -1 +user_pref("layout.css.scroll-behavior.spring-constant", "200.0"); /// "250.0" +user_pref("mousewheel.acceleration.factor", 3); /// 10 +user_pref("mousewheel.acceleration.start", -1); /// -1 user_pref("mousewheel.default.delta_multiplier_x", 100); /// 100 user_pref("mousewheel.default.delta_multiplier_y", 100); /// 100 user_pref("mousewheel.default.delta_multiplier_z", 100); /// 100