Set scroll_full_overlap to zero by default

This commit is contained in:
Moritz Lipp 2012-09-19 21:31:52 +02:00
parent bb104073f3
commit 7f42c4b7e7
2 changed files with 2 additions and 2 deletions

View file

@ -145,7 +145,7 @@ config_load_default(zathura_t* zathura)
girara_setting_add(gsession, "scroll-step", &float_value, FLOAT, false, _("Scroll step"), NULL, NULL);
float_value = -1;
girara_setting_add(gsession, "scroll-hstep", &float_value, FLOAT, false, _("Horizontal scroll step"), NULL, NULL);
float_value = 0.1;
float_value = 0.0;
girara_setting_add(gsession, "scroll-full-overlap", &float_value, FLOAT, false, _("Full page scroll overlap"), NULL, NULL);
int_value = 10;
girara_setting_add(gsession, "zoom-min", &int_value, INT, false, _("Zoom minimum"), NULL, NULL);

View file

@ -562,7 +562,7 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument,
if (scroll_hstep < 0) {
scroll_hstep = scroll_step;
}
float scroll_full_overlap = 0.1;
float scroll_full_overlap = 0.0;
girara_setting_get(session, "scroll-full-overlap", &scroll_full_overlap);
bool scroll_page_aware = false;
girara_setting_get(session, "scroll-page-aware", &scroll_page_aware);