mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 07:49:05 +00:00
Revert "LibGUI: Only dispatch Leave if the now-hovered widget isn't a child"
This reverts commit cfc9ee6f16
.
This change was wrong: The parent *does* lose hover when the mouse
cursor enters a child widget. Hover is not hierarchical, there is only a
hovered window and a hovered widget within that window.
This fixes an issue with GUI::TabWidget buttons appearing hovered
despite the mouse cursor not being over the buttons.
This commit is contained in:
parent
230f7ce71c
commit
2135c66823
Notes:
sideshowbarker
2024-07-18 07:58:43 +09:00
Author: https://github.com/awesomekling
Commit: 2135c66823
3 changed files with 1 additions and 19 deletions
|
@ -280,8 +280,6 @@ public:
|
|||
|
||||
bool has_pending_drop() const;
|
||||
|
||||
bool is_parent_of(Widget const*) const;
|
||||
|
||||
protected:
|
||||
Widget();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue