LibWeb: Give MouseEvents the correct offsetX and offsetY values

This commit is contained in:
Andreas Kling 2020-03-21 18:27:06 +01:00
commit 55c845713a
Notes: sideshowbarker 2024-07-19 08:11:57 +09:00
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;