editor: Fix scrolling drag interrupted on gutter hovering (#28924)
Closes #27188 This PR fixes the issue where, when you drag the scroll handle of the editor and your mouse hovers over the gutter of the next editor, scrolling stops. I found no good reason to stop propagation on gutter hover. Release Notes: - Fixed an issue where editor scrolling would stop when the mouse hovered over another editor's gutter.
This commit is contained in:
parent
ded1c7012c
commit
5ebb18c47e
1 changed files with 0 additions and 3 deletions
|
@ -1007,9 +1007,6 @@ impl EditorElement {
|
||||||
} else {
|
} else {
|
||||||
editor.hide_hovered_link(cx);
|
editor.hide_hovered_link(cx);
|
||||||
hover_at(editor, None, window, cx);
|
hover_at(editor, None, window, cx);
|
||||||
if gutter_hovered {
|
|
||||||
cx.stop_propagation();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue