mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
osr: win: Implement page scroll mode (fixes #3849)
This commit is contained in:
committed by
Marshall Greenblatt
parent
189b247282
commit
2dd1d1f94b
@ -1644,6 +1644,7 @@ gint BrowserWindowOsrGtk::ScrollEvent(GtkWidget* widget,
|
||||
self->ApplyPopupOffset(mouse_event.x, mouse_event.y);
|
||||
DeviceToLogical(mouse_event, device_scale_factor);
|
||||
mouse_event.modifiers = GetCefStateModifiers(event->state);
|
||||
mouse_event.modifiers |= EVENTFLAG_PRECISION_SCROLLING_DELTA;
|
||||
|
||||
static const int scrollbarPixelsPerGtkTick = 40;
|
||||
int deltaX = 0;
|
||||
|
Reference in New Issue
Block a user