fix mouse wheel event sending typo
This commit is contained in:
parent
8f546313b6
commit
bccc25165d
1 changed files with 1 additions and 1 deletions
|
@ -1441,7 +1441,7 @@ void WebContents::SendInputEvent(v8::Isolate* isolate,
|
||||||
} else if (type == blink::WebInputEvent::MouseWheel) {
|
} else if (type == blink::WebInputEvent::MouseWheel) {
|
||||||
blink::WebMouseWheelEvent mouse_wheel_event;
|
blink::WebMouseWheelEvent mouse_wheel_event;
|
||||||
if (mate::ConvertFromV8(isolate, input_event, &mouse_wheel_event)) {
|
if (mate::ConvertFromV8(isolate, input_event, &mouse_wheel_event)) {
|
||||||
view->ProcessMouseEvent(mouse_wheel_event, ui::LatencyInfo());
|
view->ProcessMouseWheelEvent(mouse_wheel_event, ui::LatencyInfo());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue