Переглянути джерело

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;