mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 17:18:11 +00:00
LibWeb+LibWebView+WebContent: Get doubleclick events from LibGUI
This commit is contained in:
parent
0e04532623
commit
03cda8a013
7 changed files with 19 additions and 0 deletions
|
@ -184,6 +184,11 @@ void OutOfProcessWebView::mousewheel_event(GUI::MouseEvent& event)
|
|||
client().async_mouse_wheel(to_content_position(event.position()), event.button(), event.buttons(), event.modifiers(), event.wheel_delta_x(), event.wheel_delta_y());
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::doubleclick_event(GUI::MouseEvent& event)
|
||||
{
|
||||
client().async_doubleclick(to_content_position(event.position()), event.button(), event.buttons(), event.modifiers());
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::theme_change_event(GUI::ThemeChangeEvent& event)
|
||||
{
|
||||
GUI::AbstractScrollableWidget::theme_change_event(event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue