mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-05 23:01:40 +03:00
Reduce redraw area.
This commit is contained in:
parent
d398caf146
commit
db62a386bf
@ -1120,10 +1120,10 @@ static bool treeview_node_mouse_action_cb(struct treeview_node *node, void *ctx)
|
||||
}
|
||||
|
||||
/* Set up redraw */
|
||||
redraw = true;
|
||||
if (r.y0 > ma->current_y)
|
||||
if (!redraw || r.y0 > ma->current_y)
|
||||
r.y0 = ma->current_y;
|
||||
r.y1 = REDRAW_MAX;
|
||||
redraw = true;
|
||||
|
||||
} else if ((node->type == TREE_NODE_ENTRY) &&
|
||||
(ma->mouse & BROWSER_MOUSE_DOUBLE_CLICK) && click) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user