From 78ad5bfe9644d1217f9d9ad0bf2fcdc388551113 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sat, 9 Dec 2023 21:58:40 +0100 Subject: 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. --- src/prefsparser.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/prefsparser.cc') diff --git a/src/prefsparser.cc b/src/prefsparser.cc index 31283b65..aaf46139 100644 --- a/src/prefsparser.cc +++ b/src/prefsparser.cc @@ -189,6 +189,7 @@ void PrefsParser::parse(FILE *fp) { "panel_size", &prefs.panel_size, PREFS_PANEL_SIZE, 0 }, { "parse_embedded_css", &prefs.parse_embedded_css, PREFS_BOOL, 0 }, { "save_dir", &prefs.save_dir, PREFS_STRING, 0 }, + { "scroll_step", &prefs.scroll_step, PREFS_INT32, 0 }, { "search_url", &prefs.search_urls, PREFS_STRINGS, 0 }, { "show_back", &prefs.show_back, PREFS_BOOL, 0 }, { "show_bookmarks", &prefs.show_bookmarks, PREFS_BOOL, 0 }, -- cgit v1.2.3