mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
fix(ui): check for this as relative should use frame points not this points
This commit is contained in:
parent
0d4afee947
commit
492dc74392
@ -280,7 +280,7 @@ void CLayoutFrame::DestroyLayout() {
|
||||
auto frame = node->frame;
|
||||
|
||||
for (int32_t i = 0; i < FRAMEPOINT_NUMPOINTS; i++) {
|
||||
auto point = this->m_points[i];
|
||||
auto point = frame->m_points[i];
|
||||
|
||||
if (point && point->m_relative == this) {
|
||||
point->MarkUnused();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user