Browse Source

LibWeb: Change BlockBox to not want mouse events

dylanbobb 4 years ago
parent
commit
2205239d9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Userland/Libraries/LibWeb/Layout/BlockBox.h

+ 1 - 1
Userland/Libraries/LibWeb/Layout/BlockBox.h

@@ -39,7 +39,7 @@ public:
 
 
 private:
 private:
     virtual bool is_block_box() const final { return true; }
     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;
     virtual bool handle_mousewheel(Badge<EventHandler>, const Gfx::IntPoint&, unsigned buttons, unsigned modifiers, int wheel_delta) override;
 
 
     bool should_clip_overflow() const;
     bool should_clip_overflow() const;