Set history scroll offsets
svn path=/trunk/netsurf/; revision=6815
This commit is contained in:
parent
3a0b151b5b
commit
c9fc91c6e4
|
@ -2914,6 +2914,11 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg
|
|||
{
|
||||
case OID_HSCROLL:
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue