mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-25 21:36:05 +03:00
fix(ui): fix infinite loop in CSimpleFrame::SetBeingScrolled
This commit is contained in:
parent
f67c8cfc04
commit
a99dc295c4
@ -1315,7 +1315,7 @@ void CSimpleFrame::SetBeingScrolled(int32_t a2, int32_t a3) {
|
||||
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)) {
|
||||
child->frame->SetBeingScrolled(a2, -1);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user