From c9fc91c6e4ced28336b3681a64a2a9fefaef2a4a Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 22 Mar 2009 00:12:12 +0000 Subject: Set history scroll offsets svn path=/trunk/netsurf/; revision=6815 --- amiga/gui.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'amiga/gui.c') diff --git a/amiga/gui.c b/amiga/gui.c index 0ca7a9edc..6e3200329 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2913,7 +2913,12 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg switch( gid ) { case OID_HSCROLL: - case OID_VSCROLL: + case OID_VSCROLL: + gui_window_get_scroll(gwin->bw->window, + &gwin->bw->window->scrollx,&gwin->bw->window->scrolly); + history_set_current_scroll(gwin->bw->history, + gwin->bw->window->scrollx,gwin->bw->window->scrolly); + if(!option_faster_scroll) gwin->redraw_required = true; else ami_do_redraw(gwin,true); -- cgit v1.2.3