diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2009-08-14 23:10:53 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2009-08-14 23:10:53 +0000 |
commit | c26611b32b3796d4bbc886e7efd839ad999885c6 (patch) | |
tree | d6ba79dc0aa97c326449ee0e7eb57e25abed21c0 /desktop/textinput.c | |
parent | 45e05288f0b7f521dfe706ce152072c422cc8ae1 (diff) | |
download | netsurf-c26611b32b3796d4bbc886e7efd839ad999885c6.tar.gz netsurf-c26611b32b3796d4bbc886e7efd839ad999885c6.tar.bz2 |
Merge from Paul Blokus' selectscroll branch. Fixes text input scrollbar behaviour.
svn path=/trunk/netsurf/; revision=9306
Diffstat (limited to 'desktop/textinput.c')
-rw-r--r-- | desktop/textinput.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/textinput.c b/desktop/textinput.c index 4a0aef467..f05f57fe1 100644 --- a/desktop/textinput.c +++ b/desktop/textinput.c @@ -2098,6 +2098,9 @@ void textarea_reflow(struct browser_window *bw, struct box *textarea, textarea->width = width; textarea->height = height; layout_calculate_descendant_bboxes(textarea); + box_handle_scrollbars(bw, textarea, + box_hscrollbar_present(textarea), + box_vscrollbar_present(textarea)); } |