Force-redraw of all child widgets on dark mode change
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
3b2a78534f
commit
b44f993f91
1 changed files with 1 additions and 3 deletions
|
@ -605,10 +605,8 @@ static void setAllFramebufferWidgetsDirty(widget::Widget* const widget)
|
|||
for (widget::Widget* child : widget->children)
|
||||
{
|
||||
if (widget::FramebufferWidget* const fbw = dynamic_cast<widget::FramebufferWidget*>(child))
|
||||
{
|
||||
fbw->setDirty();
|
||||
break;
|
||||
}
|
||||
|
||||
setAllFramebufferWidgetsDirty(child);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue