mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
Fix bug #3479239: scroll in correct direction for page left/page right
svn path=/trunk/netsurf/; revision=13435
This commit is contained in:
parent
b75a3960fc
commit
e2bb4aa4e0
@ -3160,10 +3160,10 @@ void ro_gui_window_scroll_action(struct gui_window *g,
|
||||
state.xscroll += 0x10000000;
|
||||
break;
|
||||
case SCROLL_PAGE_UP:
|
||||
state.xscroll -= visible_x;
|
||||
state.xscroll += visible_x;
|
||||
break;
|
||||
case SCROLL_PAGE_DOWN:
|
||||
state.xscroll += visible_x;
|
||||
state.xscroll -= visible_x;
|
||||
break;
|
||||
default:
|
||||
state.xscroll += 2 * step_x;
|
||||
|
Loading…
Reference in New Issue
Block a user