mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
GWidget: Ignore updates if self has !updates_enabled().
We were only checking when propagating updates to parents, duh.
This commit is contained in:
@@ -293,6 +293,9 @@ void GWidget::update(const Rect& rect)
|
||||
if (!is_visible())
|
||||
return;
|
||||
|
||||
if (!updates_enabled())
|
||||
return;
|
||||
|
||||
GWindow* window = m_window;
|
||||
GWidget* parent = parent_widget();
|
||||
while (parent) {
|
||||
|
||||
Reference in New Issue
Block a user