mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
fix(ui): add missing linked check to CLayoutFrame::Resize
This commit is contained in:
parent
a9364386d8
commit
1457703d8c
@ -625,7 +625,10 @@ void CLayoutFrame::RegisterResize(CLayoutFrame* frame, uint32_t dep) {
|
|||||||
|
|
||||||
void CLayoutFrame::Resize(int32_t force) {
|
void CLayoutFrame::Resize(int32_t force) {
|
||||||
if (force && !(this->m_flags & 0x8) && this->OnFrameResize()) {
|
if (force && !(this->m_flags & 0x8) && this->OnFrameResize()) {
|
||||||
LayoutFrame::s_resizePendingList.UnlinkNode(this);
|
if (LayoutFrame::s_resizePendingList.IsLinked(this)) {
|
||||||
|
LayoutFrame::s_resizePendingList.UnlinkNode(this);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user