mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 21:46:57 +03:00
Remove redundant drag handling for content selection
This redundant code was added by:4747bbbfb2
HTML drags now go via content msg. and then added again with:c2a718075a
A load of refactoring of how content selection and input work.
This commit is contained in:
parent
b9bc34b875
commit
074407d251
@ -599,16 +599,6 @@ html_mouse_action(struct content *c,
|
||||
return;
|
||||
}
|
||||
|
||||
if (html->drag_type == HTML_DRAG_CONTENT_SELECTION) {
|
||||
box = html->drag_owner.content;
|
||||
assert(box->object != NULL);
|
||||
|
||||
box_coords(box, &box_x, &box_y);
|
||||
content_mouse_track(box->object, bw, mouse,
|
||||
x - box_x, y - box_y);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Content related drags handled by now */
|
||||
assert(html->drag_type == HTML_DRAG_NONE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user