Fix input range handle does not follow mouse cursor with OSR (issue #2189)
This commit is contained in:
parent
a5a5e7ff08
commit
36668efc2f
|
@ -384,4 +384,6 @@ void CefBrowserPlatformDelegateNativeLinux::TranslateMouseEvent(
|
||||||
|
|
||||||
// timestamp
|
// timestamp
|
||||||
result.SetTimeStampSeconds(GetSystemUptime());
|
result.SetTimeStampSeconds(GetSystemUptime());
|
||||||
|
|
||||||
|
result.pointer_type = blink::WebPointerProperties::PointerType::kMouse;
|
||||||
}
|
}
|
||||||
|
|
|
@ -469,4 +469,6 @@ void CefBrowserPlatformDelegateNativeMac::TranslateMouseEvent(
|
||||||
|
|
||||||
// timestamp - Mac OSX specific
|
// timestamp - Mac OSX specific
|
||||||
result.SetTimeStampSeconds(currentEventTimestamp());
|
result.SetTimeStampSeconds(currentEventTimestamp());
|
||||||
|
|
||||||
|
result.pointer_type = blink::WebPointerProperties::PointerType::kMouse;
|
||||||
}
|
}
|
||||||
|
|
|
@ -559,6 +559,8 @@ void CefBrowserPlatformDelegateNativeWin::TranslateMouseEvent(
|
||||||
|
|
||||||
// timestamp
|
// timestamp
|
||||||
result.SetTimeStampSeconds(GetMessageTime() / 1000.0);
|
result.SetTimeStampSeconds(GetMessageTime() / 1000.0);
|
||||||
|
|
||||||
|
result.pointer_type = blink::WebPointerProperties::PointerType::kMouse;
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
|
|
Loading…
Reference in New Issue