We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Using Smoothfox.js you may get prefs parse error: unexpected character printed to your terminal.
prefs parse error: unexpected character
To Reproduce
This affects anything with a decimal point under: OPTION: NATURAL SMOOTH SCROLLING V3 [MODIFIED] (lines 58, 60, 61) in Smoothfox.js
Solution
Use whole numbers without any decimals.
Example
Here are the original lines 58-61:
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0); user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250); user_pref("general.smoothScroll.currentVelocityWeighting", 1.0); user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0);
Here are lines 58-61, with no decimal point:
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2); user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250); user_pref("general.smoothScroll.currentVelocityWeighting", 1); user_pref("general.smoothScroll.stopDecelerationWeighting", 1);
Resolution
With this change, I am no longer receiving an error in my terminal.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
fix decimals
ff2e690
#287
Thank you for the report! The issue will be resolved with the release of the upcoming update.
Sorry, something went wrong.
yokoffing
Successfully merging a pull request may close this issue.
REPORT
Describe the bug
Using Smoothfox.js you may get
prefs parse error: unexpected character
printed to your terminal.To Reproduce
This affects anything with a decimal point under: OPTION: NATURAL SMOOTH SCROLLING V3 [MODIFIED]
(lines 58, 60, 61) in Smoothfox.js
Solution
Use whole numbers without any decimals.
Example
Here are the original lines 58-61:
Here are lines 58-61, with no decimal point:
Resolution
With this change, I am no longer receiving an error in my terminal.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: