mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-03 13:51:46 +03:00
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:
parent
2014dac36d
commit
a074bdbe54
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user