mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement scroll event listener
Signed-off-by: PotatoCP <kenzieradityatirtarahardja.18@gmail.com> Co-authored-by: Asun0204 <asun0204@163.com>
This commit is contained in:
parent
7f0cebd442
commit
2d3fa482d7
5 changed files with 88 additions and 20 deletions
|
@ -1143,6 +1143,9 @@ impl ScriptThread {
|
|||
InputEvent::EditingAction(editing_action_event) => {
|
||||
document.handle_editing_action(editing_action_event, can_gc);
|
||||
},
|
||||
InputEvent::Scroll(scroll_event) => {
|
||||
document.handle_scroll_event(scroll_event, can_gc);
|
||||
},
|
||||
}
|
||||
}
|
||||
ScriptThread::set_user_interacting(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue