mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-09 16:08:23 +03:00
fix(ui): fix infinite loop in CSimpleFrame::SetBeingScrolled
This commit is contained in:
1 parent
f67c8cfc04
commit
a99dc295c4
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user