mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 22:22:55 +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
Notes:
sideshowbarker
2024-07-19 14:21:29 +09:00
Author: https://github.com/awesomekling
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