mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
fix(ui): fix infinite loop in CSimpleFrame::SetBeingScrolled
This commit is contained in:
parent
f67c8cfc04
commit
a99dc295c4
1 changed files with 1 additions and 1 deletions
|
|
@ -1315,7 +1315,7 @@ void CSimpleFrame::SetBeingScrolled(int32_t a2, int32_t a3) {
|
||||||
this->m_batchDirty |= 0x1F;
|
this->m_batchDirty |= 0x1F;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto child = this->m_children.Head(); child; this->m_children.Link(child)->Next()) {
|
for (auto child = this->m_children.Head(); child; child = this->m_children.Link(child)->Next()) {
|
||||||
if (!(child->frame->m_flags & 0x4000)) {
|
if (!(child->frame->m_flags & 0x4000)) {
|
||||||
child->frame->SetBeingScrolled(a2, -1);
|
child->frame->SetBeingScrolled(a2, -1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue