| Index: Source/platform/scroll/ScrollableArea.cpp
|
| diff --git a/Source/platform/scroll/ScrollableArea.cpp b/Source/platform/scroll/ScrollableArea.cpp
|
| index 367f42821331120cd81245fa9289770ebf7286a2..c747d10b86fd3e6d0e2a69fdc310103630f8eedf 100644
|
| --- a/Source/platform/scroll/ScrollableArea.cpp
|
| +++ b/Source/platform/scroll/ScrollableArea.cpp
|
| @@ -240,8 +240,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();
|
|
|