summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2006-07-10 13:42:42 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2006-07-10 13:42:42 +0000
commit0e0aef0f8570dee3292e941ee82f7019741b6aa9 (patch)
tree82a6dcde39d018dd489227705e40be4341e12c8d /riscos
parenta47f148f2d9a7f06c7dddaf55d7e89c6e04349ef (diff)
downloadnetsurf-0e0aef0f8570dee3292e941ee82f7019741b6aa9.tar.gz
netsurf-0e0aef0f8570dee3292e941ee82f7019741b6aa9.tar.bz2
Fix 1496834.
svn path=/trunk/netsurf/; revision=2726
Diffstat (limited to 'riscos')
-rw-r--r--riscos/treeview.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscos/treeview.c b/riscos/treeview.c
index 8d6965f88..b8786ae59 100644
--- a/riscos/treeview.c
+++ b/riscos/treeview.c
@@ -727,6 +727,9 @@ bool ro_gui_tree_click(wimp_pointer *pointer, struct tree *tree) {
scroll.w = (wimp_w)tree->handle;
scroll.pause_zone_sizes.y0 = 80;
scroll.pause_zone_sizes.y1 = 80;
+ if (tree->toolbar)
+ scroll.pause_zone_sizes.y1 +=
+ ro_gui_theme_toolbar_height(tree->toolbar);
scroll.pause_duration = 0;
scroll.state_change = (void *)0;
error = xwimp_auto_scroll(wimp_AUTO_SCROLL_ENABLE_VERTICAL,
@@ -852,6 +855,9 @@ bool ro_gui_tree_click(wimp_pointer *pointer, struct tree *tree) {
scroll.w = (wimp_w)tree->handle;
scroll.pause_zone_sizes.y0 = 80;
scroll.pause_zone_sizes.y1 = 80;
+ if (tree->toolbar)
+ scroll.pause_zone_sizes.y1 +=
+ ro_gui_theme_toolbar_height(tree->toolbar);
scroll.pause_duration = -1;
scroll.state_change = (void *)0;
error = xwimp_auto_scroll(wimp_AUTO_SCROLL_ENABLE_VERTICAL,