mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 11:48:06 +00:00
LibWeb: Change BlockBox to not want mouse events
This commit is contained in:
parent
1618cffb75
commit
2205239d9a
Notes:
sideshowbarker
2024-07-18 16:50:08 +09:00
Author: https://github.com/dylanbobb 🔰
Commit: 2205239d9a
Pull-request: https://github.com/SerenityOS/serenity/pull/7819
Issue: https://github.com/SerenityOS/serenity/issues/7581
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue