Index: Source/platform/scroll/ScrollableArea.cpp |
diff --git a/Source/platform/scroll/ScrollableArea.cpp b/Source/platform/scroll/ScrollableArea.cpp |
index f1704953f0a5b59e98c1fe0d1817a5658c6be6a6..aa26eabee126de3dd5f6b853c1bda4f6be4417d7 100644 |
--- a/Source/platform/scroll/ScrollableArea.cpp |
+++ b/Source/platform/scroll/ScrollableArea.cpp |
@@ -239,8 +239,8 @@ bool ScrollableArea::scrollBehaviorFromString(const String& behaviorString, Scro |
bool ScrollableArea::handleWheelEvent(const PlatformWheelEvent& wheelEvent) |
{ |
- // ctrl+wheel events are used to trigger zooming, not scrolling. |
- if (wheelEvent.modifiers() & PlatformEvent::CtrlKey) |
+ // Wheel events which do not scroll are used to trigger zooming. |
+ if (wheelEvent.canScroll()) |
return false; |
cancelProgrammaticScrollAnimation(); |