浏览代码

LibWeb: Change BlockBox to not want mouse events

dylanbobb 4 年之前
父节点
当前提交
2205239d9a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Userland/Libraries/LibWeb/Layout/BlockBox.h

+ 1 - 1
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;