mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
script: Stop destroying all flows on every mouse-over event.
This commit is contained in:
parent
afbc51a746
commit
1fe55a27b1
2 changed files with 17 additions and 13 deletions
|
@ -1218,9 +1218,7 @@ impl ScriptTask {
|
|||
let document = page.document().root();
|
||||
let mouse_over_targets = &mut *self.mouse_over_targets.borrow_mut();
|
||||
|
||||
if document.r().handle_mouse_move_event(self.js_runtime.ptr, point, mouse_over_targets) {
|
||||
self.force_reflow(&page, ReflowReason::MouseEvent)
|
||||
}
|
||||
document.r().handle_mouse_move_event(self.js_runtime.ptr, point, mouse_over_targets);
|
||||
}
|
||||
|
||||
KeyEvent(key, state, modifiers) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue