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

Update SmoothFox.js

This commit is contained in:
yokoffing
2022-08-16 21:38:44 -04:00
committed by GitHub
parent 3e7d07ebd6
commit a0e97e02ec
+12 -6
View File
@@ -9,21 +9,27 @@
/**************************************************************************** /****************************************************************************
* SmoothFox * * SmoothFox *
* "Faber est suae quisque fortunae." * * "Faber est suae quisque fortunae" *
* priority: smooth scrolling * * priority: better scrolling *
* version: March 2021 * * version: August 2022 *
* url: https://github.com/hjstephens09/Better-Fox * * url: https://github.com/yokoffing/Better-Fox *
***************************************************************************/ ***************************************************************************/
/**************************************************************************** /****************************************************************************
* SECTION: SMOOTH SCROLLING (OVERALL IMPROVEMENT OF DEFAULTS) * * OPTION 1: SMOOTH SCROLLING (SIMPLE ADJUSTMENT) *
****************************************************************************/
user_pref("general.smoothScroll", true);
user_pref("mousewheel.min_line_scroll_amount", 30);
/****************************************************************************
* OPTION 2: SMOOTH SCROLLING (OVERALL IMPROVEMENT OF DEFAULTS) *
****************************************************************************/ ****************************************************************************/
user_pref("general.smoothScroll", true); user_pref("general.smoothScroll", true);
user_pref("general.smoothScroll.mouseWheel.durationMaxMS", 150); user_pref("general.smoothScroll.mouseWheel.durationMaxMS", 150);
user_pref("general.smoothScroll.mouseWheel.durationMinMS", 125); user_pref("general.smoothScroll.mouseWheel.durationMinMS", 125);
/****************************************************************************** /******************************************************************************
* SECTION: EDGE-LIKE SMOOTH SCROLLING * * OPTION 3: EDGE-LIKE SMOOTH SCROLLING *
******************************************************************************/ ******************************************************************************/
user_pref("general.smoothScroll", true); user_pref("general.smoothScroll", true);
user_pref("general.smoothScroll.currentVelocityWeighting", "0.1"); user_pref("general.smoothScroll.currentVelocityWeighting", "0.1");