diff options
author | dylanbobb <dylan.bobb@hotmail.com> | 2021-06-05 14:02:34 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-05 22:35:22 +0200 |
commit | 2205239d9aa734cc3c6c150b0154d306ea97fc22 (patch) | |
tree | 002373abd0f78431524c37de86948b74501496ca /Userland/Libraries/LibWeb | |
parent | 1618cffb758658f9dd72124fd646fbd69441ad98 (diff) | |
download | serenity-2205239d9aa734cc3c6c150b0154d306ea97fc22.zip |
LibWeb: Change BlockBox to not want mouse events
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/BlockBox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/BlockBox.h b/Userland/Libraries/LibWeb/Layout/BlockBox.h index 8c00ee0024..4833d80519 100644 --- a/Userland/Libraries/LibWeb/Layout/BlockBox.h +++ b/Userland/Libraries/LibWeb/Layout/BlockBox.h @@ -39,7 +39,7 @@ public: private: virtual bool is_block_box() const final { return true; } - virtual bool wants_mouse_events() const override { return true; } + virtual bool wants_mouse_events() const override { return false; } virtual bool handle_mousewheel(Badge<EventHandler>, const Gfx::IntPoint&, unsigned buttons, unsigned modifiers, int wheel_delta) override; bool should_clip_overflow() const; |