mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-12 17:25:04 +03:00
fix(ui): check for this as relative should use frame points not this points
This commit is contained in:
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user