1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 15:40:48 +05:30

Smooth 116 (#200)

* add apz.overscroll.enabled
not default on Linux

* remove beta format spacing
This commit is contained in:
HJ
2023-08-19 15:37:37 -04:00
committed by GitHub
parent 9da9f3a0f5
commit 083b0f00ba
+19 -17
View File
@@ -2,7 +2,7 @@
* Smoothfox * * Smoothfox *
* "Faber est suae quisque fortunae" * * "Faber est suae quisque fortunae" *
* priority: better scrolling * * priority: better scrolling *
* version: January 2023 * * version: July 2023 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
***************************************************************************************/ ***************************************************************************************/
@@ -10,16 +10,18 @@
* OPTION 1: INSTANT SCROLLING (SIMPLE ADJUSTMENT) * * OPTION 1: INSTANT SCROLLING (SIMPLE ADJUSTMENT) *
****************************************************************************************/ ****************************************************************************************/
// recommended for 60hz+ displays // recommended for 60hz+ displays
user_pref("general.smoothScroll", true); // DEFAULT user_pref("apz.overscroll.enabled", true); // not DEFAULT on Linux
user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-400 user_pref("general.smoothScroll", true); // DEFAULT
user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-400; adjust this number to your liking
/**************************************************************************************** /****************************************************************************************
* OPTION 2: SMOOTH SCROLLING * * OPTION 2: SMOOTH SCROLLING *
****************************************************************************************/ ****************************************************************************************/
// recommended for 90hz+ displays // recommended for 90hz+ displays
user_pref("general.smoothScroll", true); // DEFAULT user_pref("apz.overscroll.enabled", true); // not DEFAULT on Linux
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400 user_pref("general.smoothScroll", true); // DEFAULT
user_pref("general.smoothScroll.msdPhysics.enabled", true); user_pref("general.smoothScroll.msdPhysics.enabled", true);
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400; adjust this number to your liking
/**************************************************************************************** /****************************************************************************************
* OPTION 3: NATURAL SMOOTH SCROLLING V3 [MODIFIED] * * OPTION 3: NATURAL SMOOTH SCROLLING V3 [MODIFIED] *
@@ -27,15 +29,15 @@ user_pref("general.smoothScroll.msdPhysics.enabled", true);
// recommended for 120hz+ displays // recommended for 120hz+ displays
// largely matches Chrome flags: Windows Scrolling Personality and Smooth Scrolling // largely matches Chrome flags: Windows Scrolling Personality and Smooth Scrolling
// from https://github.com/AveYo/fox/blob/cf56d1194f4e5958169f9cf335cd175daa48d349/Natural%20Smooth%20Scrolling%20for%20user.js // from https://github.com/AveYo/fox/blob/cf56d1194f4e5958169f9cf335cd175daa48d349/Natural%20Smooth%20Scrolling%20for%20user.js
user_pref("general.smoothScroll", true); // DEFAULT user_pref("apz.overscroll.enabled", true); // not DEFAULT on Linux
user_pref("general.smoothScroll", true); // DEFAULT
user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12); user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
user_pref("general.smoothScroll.msdPhysics.enabled", true); user_pref("general.smoothScroll.msdPhysics.enabled", true);
user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600); user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650); user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25); user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0); user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0);
user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250); user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
user_pref("general.smoothScroll.currentVelocityWeighting", 1.0); user_pref("general.smoothScroll.currentVelocityWeighting", 1.0);
user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0); user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0);
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400 user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400; adjust this number to your liking