mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 10:42:36 +03:00
Treeview: Consider search bar for redraw area calculation.
This commit is contained in:
parent
83798a83b7
commit
9501c9e68d
@ -3441,7 +3441,7 @@ static bool treeview_delete_selection(treeview *tree, struct rect *rect)
|
||||
sw.purpose = TREEVIEW_WALK_DELETE_SELECTION;
|
||||
sw.data.redraw.required = false;
|
||||
sw.data.redraw.rect = rect;
|
||||
sw.current_y = 0;
|
||||
sw.current_y = treeview__get_search_height(tree);
|
||||
sw.tree = tree;
|
||||
|
||||
treeview_walk_internal(tree, tree->root,
|
||||
@ -3474,7 +3474,7 @@ static bool treeview_propagate_selection(treeview *tree, struct rect *rect)
|
||||
sw.purpose = TREEVIEW_WALK_PROPAGATE_SELECTION;
|
||||
sw.data.redraw.required = false;
|
||||
sw.data.redraw.rect = rect;
|
||||
sw.current_y = 0;
|
||||
sw.current_y = treeview__get_search_height(tree);
|
||||
sw.tree = tree;
|
||||
|
||||
treeview_walk_internal(tree, tree->root,
|
||||
|
Loading…
Reference in New Issue
Block a user