mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:33:57 +01:00
Set scroll_full_overlap to zero by default
This commit is contained in:
parent
bb104073f3
commit
7f42c4b7e7
2
config.c
2
config.c
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user