mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 17:55:07 +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:
parent
6d5507313e
commit
49d0cdabac
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue