Enable smooth scrolling with OSR (fixes issue #2895)

This commit is contained in:
Mike Wiedenbauer 2020-04-02 20:59:26 +00:00 committed by Marshall Greenblatt
parent f742ab4994
commit cf6b57d659
1 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,8 @@ ui::MouseWheelEvent CefBrowserPlatformDelegateNativeAura::TranslateUiWheelEvent(
int changed_button_flags =
TranslateUiChangedButtonFlags(mouse_event.modifiers);
return ui::MouseWheelEvent(offset, location, root_location, time_stamp, flags,
return ui::MouseWheelEvent(offset, location, root_location, time_stamp,
(ui::EF_PRECISION_SCROLLING_DELTA | flags),
changed_button_flags);
}