aboutsummaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2023-12-09 21:58:40 +0100
committerRodrigo Arias Mallo <rodrigo.arias@bsc.es>2023-12-20 01:06:54 +0100
commit78ad5bfe9644d1217f9d9ad0bf2fcdc388551113 (patch)
tree3e965a702cdfaa1136bd6550d6c88dd61e8a1f94 /src/prefs.h
parent58a950376b3c09098da3b286bb71b7b6eb4777d2 (diff)
Add scroll_step option
When using the mouse wheel to scroll a page, the default scroll step was causing a very slow scrolling speed. The new option "scroll_step" allows the user to define how many pixels the page is moved in every step of the mouse wheel. The default is increased to 100 pixels per step.
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h
index a77120e4..00155c21 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -72,6 +72,7 @@ typedef struct {
double font_factor;
int32_t font_max_size;
int32_t font_min_size;
+ int32_t scroll_step;
bool_t show_back;
bool_t show_forw;
bool_t show_home;