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

Smooth Nov 2022 (#80)

This commit is contained in:
yokoffing
2022-10-16 14:35:02 -04:00
committed by GitHub
parent 63c758c2c4
commit 303f05e9ac
+14 -14
View File
@@ -7,40 +7,40 @@
* To make a change to preferences, you will have to edit the user.js file. * To make a change to preferences, you will have to edit the user.js file.
*/ */
/**************************************************************************** /****************************************************************************************
* SmoothFox * * Smoothfox *
* "Faber est suae quisque fortunae" * * "Faber est suae quisque fortunae" *
* priority: better scrolling * * priority: better scrolling *
* version: October 2022b * * version: November 2022 *
* url: https://github.com/yokoffing/Better-Fox * * url: https://github.com/yokoffing/Betterfox *
***************************************************************************/ ***************************************************************************************/
/**************************************************************************** /****************************************************************************************
* 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("general.smoothScroll", true); // DEFAULT
user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-500 user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-500
/**************************************************************************** /****************************************************************************************
* OPTION 2: SMOOTH SCROLLING * * OPTION 2: SMOOTH SCROLLING *
****************************************************************************/ ****************************************************************************************/
// recommended for 90hz+ displays // recommended for 90hz+ displays
user_pref("general.smoothScroll", true); // DEFAULT user_pref("general.smoothScroll", true); // DEFAULT
user_pref("mousewheel.default.delta_multiplier_y", 250); user_pref("mousewheel.default.delta_multiplier_y", 265); // 250-500
user_pref("general.smoothScroll.msdPhysics.enabled", true); user_pref("general.smoothScroll.msdPhysics.enabled", true);
/**************************************************************************** /****************************************************************************************
* OPTION 3: NATURAL SMOOTH SCROLLING [MODIFIED] * * OPTION 3: NATURAL SMOOTH SCROLLING [MODIFIED] *
****************************************************************************/ ****************************************************************************************/
// from https://github.com/AveYo/fox/blob/main/Natural%20Smooth%20Scrolling%20for%20user.js // from https://github.com/AveYo/fox/blob/main/Natural%20Smooth%20Scrolling%20for%20user.js
// largely matches Chrome flags: Windows Scrolling Personality and Smooth Scrolling // largely matches Chrome flags: Windows Scrolling Personality and Smooth Scrolling
// recommended for 120hz+ displays // recommended for 120hz+ displays
user_pref("general.smoothScroll", true); // DEFAULT 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); // 200 user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650); // 250 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);