Index: sky/engine/web/WebViewImpl.cpp |
diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp |
index b2db8490c33e788771b5dfd0e34b7f5e74545c2c..c1c8c7b708284a147aa15032000ddfbd9039b0fe 100644 |
--- a/sky/engine/web/WebViewImpl.cpp |
+++ b/sky/engine/web/WebViewImpl.cpp |
@@ -339,6 +339,11 @@ bool WebViewImpl::handleInputEvent(const WebInputEvent& inputEvent) |
return m_page->mainFrame()->newEventHandler().handleKeyboardEvent(event); |
} |
+ if (WebInputEvent::isWheelEventType(inputEvent.type)) { |
+ const WebWheelEvent& event = static_cast<const WebWheelEvent&>(inputEvent); |
+ return m_page->mainFrame()->newEventHandler().handleWheelEvent(event); |
+ } |
+ |
return false; |
} |