1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

LibWeb: Change BlockBox to not want mouse events

This commit is contained in:
dylanbobb 2021-06-05 14:02:34 -04:00 committed by Andreas Kling
parent 1618cffb75
commit 2205239d9a

View file

@ -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;