summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-07-26 16:09:05 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-07-26 16:09:05 +0200
commit9b0ff0e8bcc2bf9f6d18be4e6b7c956fbfd831ee (patch)
treeffa906b69111edf6f6cd02f6771e1e6e77243f6b
parent8c29326d9612397e5771574600d2ca9e6ebe2fbd (diff)
downloadUXP-9b0ff0e8bcc2bf9f6d18be4e6b7c956fbfd831ee.tar
UXP-9b0ff0e8bcc2bf9f6d18be4e6b7c956fbfd831ee.tar.gz
UXP-9b0ff0e8bcc2bf9f6d18be4e6b7c956fbfd831ee.tar.lz
UXP-9b0ff0e8bcc2bf9f6d18be4e6b7c956fbfd831ee.tar.xz
UXP-9b0ff0e8bcc2bf9f6d18be4e6b7c956fbfd831ee.zip
Add UI preference for overall vertical smooth scrolling speed
(as a percentage). Resolves #1147.
-rw-r--r--application/palemoon/components/preferences/advanced.xul9
-rw-r--r--application/palemoon/locales/en-US/chrome/browser/preferences/advanced.dtd2
2 files changed, 11 insertions, 0 deletions
diff --git a/application/palemoon/components/preferences/advanced.xul b/application/palemoon/components/preferences/advanced.xul
index 34998c1b8..e5f3bb160 100644
--- a/application/palemoon/components/preferences/advanced.xul
+++ b/application/palemoon/components/preferences/advanced.xul
@@ -106,6 +106,8 @@
<preference id="general.smoothScroll.scrollbars" name="general.smoothScroll.scrollbars" type="bool"/>
<preference id="general.smoothScroll.scrollbars.durationMinMS" name="general.smoothScroll.scrollbars.durationMinMS" type="int"/>
<preference id="general.smoothScroll.scrollbars.durationMaxMS" name="general.smoothScroll.scrollbars.durationMaxMS" type="int"/>
+
+ <preference id="mousewheel.default.delta_multiplier_y" name="mousewheel.default.delta_multiplier_y" type="int"/>
</preferences>
#ifdef HAVE_SHELL_SERVICE
@@ -445,6 +447,13 @@
preference="general.smoothScroll.scrollbars.durationMaxMS"/>
<label flex="1">ms.</label>
</hbox>
+
+ <hbox align="center">
+ <label value="&smoothscroll.overall.yspeed.label;"/>
+ <textbox type="number" size="3" min="1" max="999"
+ preference="mousewheel.default.delta_multiplier_y"/>
+ <label flex="1">%.</label>
+ </hbox>
</groupbox>
</tabpanel>
<!-- end Smooth scrolling tab -->
diff --git a/application/palemoon/locales/en-US/chrome/browser/preferences/advanced.dtd b/application/palemoon/locales/en-US/chrome/browser/preferences/advanced.dtd
index dcb7b0e90..bb8dd12d2 100644
--- a/application/palemoon/locales/en-US/chrome/browser/preferences/advanced.dtd
+++ b/application/palemoon/locales/en-US/chrome/browser/preferences/advanced.dtd
@@ -147,3 +147,5 @@
<!ENTITY smoothscroll.pagekeys.duration "Page up/down scroll duration:">
<!ENTITY smoothscroll.scrollbar.label "Smooth scroll with scrollbars">
<!ENTITY smoothscroll.scrollbar.duration "Scrollbar smooth scroll duration:">
+
+<!ENTITY smoothscroll.overall.yspeed.label "Overall smooth scroll speed:">