Add UI preference for overall vertical smooth scrolling speed.

master
Fedor 2019-09-05 20:09:03 +03:00
parent 8c8a1485ff
commit 7ac66aa8c0
2 changed files with 11 additions and 0 deletions

View File

@ -104,6 +104,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
@ -433,6 +435,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 -->

View File

@ -144,3 +144,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:">