mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
GWidget: Always update self after a child is removed.
We could probably tighten the amount of invalidation we do here, but this is definitely more correct than not invalidating at all.
This commit is contained in:
parent
cc9cefbd5f
commit
568f3125f3
Notes:
sideshowbarker
2024-07-19 14:39:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/568f3125f3e
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ void GWidget::child_event(CChildEvent& event)
|
|||
else
|
||||
invalidate_layout();
|
||||
}
|
||||
update();
|
||||
}
|
||||
return CObject::child_event(event);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue