mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-29 02:30:08 +01:00
Enable smooth scrolling with OSR (fixes issue #2895)
This commit is contained in:
parent
f742ab4994
commit
cf6b57d659
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user