From bb8bfc0dd3143974706969599f50560753aea53b Mon Sep 17 00:00:00 2001 From: "Ignas Anikevicius (gns_ank)" Date: Fri, 8 Feb 2013 13:59:40 +0000 Subject: [PATCH] Set the horizontal scroll step Previously it was set to -1, which was essentially disabling the horizontal scrolling. This enables the scrolling by default by setting it to be the same as the vertical scrolling. Signed-off-by: Ignas Anikevicius (gns_ank) Signed-off-by: Sebastian Ramacher --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 1753594..8eaf8c7 100644 --- a/config.c +++ b/config.c @@ -143,7 +143,7 @@ config_load_default(zathura_t* zathura) girara_setting_add(gsession, "first-page-column", &int_value, INT, false, _("Column of the first page"),cb_first_page_column_value_changed, NULL); float_value = 40; girara_setting_add(gsession, "scroll-step", &float_value, FLOAT, false, _("Scroll step"), NULL, NULL); - float_value = -1; + float_value = 40; girara_setting_add(gsession, "scroll-hstep", &float_value, FLOAT, false, _("Horizontal scroll step"), NULL, NULL); float_value = 0.0; girara_setting_add(gsession, "scroll-full-overlap", &float_value, FLOAT, false, _("Full page scroll overlap"), NULL, NULL);