Set history scroll offsets
svn path=/trunk/netsurf/; revision=6815
This commit is contained in:
parent
3a0b151b5b
commit
c9fc91c6e4
|
@ -2913,7 +2913,12 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg
|
||||||
switch( gid )
|
switch( gid )
|
||||||
{
|
{
|
||||||
case OID_HSCROLL:
|
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)
|
if(!option_faster_scroll)
|
||||||
gwin->redraw_required = true;
|
gwin->redraw_required = true;
|
||||||
else ami_do_redraw(gwin,true);
|
else ami_do_redraw(gwin,true);
|
||||||
|
|
Loading…
Reference in New Issue