Fix xtext wheel scroll speed handling + prefs slider

This commit is contained in:
2026-05-25 09:45:22 -06:00
parent b8e03ff6c1
commit 85b0e8f1a6
7 changed files with 50 additions and 9 deletions

View File

@@ -112,9 +112,11 @@ cv_tree_scroll_event_cb (GtkWidget *widget, GdkEventScroll *event, gpointer user
if (prefs.hex_gui_tab_scrollchans)
{
int direction = cv_scroll_direction (event);
int i;
if (direction != 0)
mg_switch_page (1, direction);
for (i = 0; i < cv_scroll_step_count (); i++)
mg_switch_page (1, direction);
return direction != 0;
}