From 492dc743921aa3d5840c35681e7562926d98cba4 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 7 Dec 2025 17:55:15 -0600 Subject: [PATCH] fix(ui): check for this as relative should use frame points not this points --- src/ui/CLayoutFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/CLayoutFrame.cpp b/src/ui/CLayoutFrame.cpp index 79a9a23..1bf5cbf 100644 --- a/src/ui/CLayoutFrame.cpp +++ b/src/ui/CLayoutFrame.cpp @@ -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();