Преглед изворни кода

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;