Stop NetSurf jumping back to the top of the document when scrolling before the page

has finished loading.

svn path=/trunk/netsurf/; revision=6742
This commit is contained in:
Chris Young 2009-03-08 23:40:58 +00:00
parent 2014dac36d
commit a074bdbe54
1 changed files with 0 additions and 2 deletions

View File

@ -2360,13 +2360,11 @@ void gui_window_update_extent(struct gui_window *g)
RefreshSetGadgetAttrs((APTR)g->shared->objects[OID_VSCROLL],g->shared->win,NULL,
SCROLLER_Total,g->shared->bw->current_content->height,
SCROLLER_Visible,bbox->Height,
SCROLLER_Top,0,
TAG_DONE);
RefreshSetGadgetAttrs((APTR)g->shared->objects[OID_HSCROLL],g->shared->win,NULL,
SCROLLER_Total,g->shared->bw->current_content->width,
SCROLLER_Visible,bbox->Width,
SCROLLER_Top,0,
TAG_DONE);
}
}