mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-26 05:57:00 +03:00
Fix 1496834.
svn path=/trunk/netsurf/; revision=2726
This commit is contained in:
parent
a47f148f2d
commit
0e0aef0f85
@ -727,6 +727,9 @@ bool ro_gui_tree_click(wimp_pointer *pointer, struct tree *tree) {
|
|||||||
scroll.w = (wimp_w)tree->handle;
|
scroll.w = (wimp_w)tree->handle;
|
||||||
scroll.pause_zone_sizes.y0 = 80;
|
scroll.pause_zone_sizes.y0 = 80;
|
||||||
scroll.pause_zone_sizes.y1 = 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.pause_duration = 0;
|
||||||
scroll.state_change = (void *)0;
|
scroll.state_change = (void *)0;
|
||||||
error = xwimp_auto_scroll(wimp_AUTO_SCROLL_ENABLE_VERTICAL,
|
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.w = (wimp_w)tree->handle;
|
||||||
scroll.pause_zone_sizes.y0 = 80;
|
scroll.pause_zone_sizes.y0 = 80;
|
||||||
scroll.pause_zone_sizes.y1 = 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.pause_duration = -1;
|
||||||
scroll.state_change = (void *)0;
|
scroll.state_change = (void *)0;
|
||||||
error = xwimp_auto_scroll(wimp_AUTO_SCROLL_ENABLE_VERTICAL,
|
error = xwimp_auto_scroll(wimp_AUTO_SCROLL_ENABLE_VERTICAL,
|
||||||
|
Loading…
Reference in New Issue
Block a user