1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 03:57:35 +00:00

LibWeb: Give MouseEvents the correct offsetX and offsetY values

This commit is contained in:
Andreas Kling 2020-03-21 18:27:06 +01:00
parent 4dde36844b
commit 55c845713a
2 changed files with 20 additions and 4 deletions

View file

@ -78,6 +78,7 @@ private:
void layout_and_sync_size();
void dump_selection(const char* event_name);
Gfx::Point compute_mouse_event_offset(const Gfx::Point&, const LayoutNode&) const;
RefPtr<Web::Frame> m_main_frame;