Drop scroll events if there's been a reset
co-authored-by: Nathan <nathan@zed.dev> co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
parent
80852c3e18
commit
6db18e8972
4 changed files with 112 additions and 114 deletions
|
@ -1717,7 +1717,6 @@ impl<'a> WindowContext<'a> {
|
|||
.mouse_listeners
|
||||
.remove(&event.type_id())
|
||||
{
|
||||
dbg!(handlers.len());
|
||||
// Because handlers may add other handlers, we sort every time.
|
||||
handlers.sort_by(|(a, _, _), (b, _, _)| a.cmp(b));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue