From dea11f34bfab5bfd5f66dec9f2fa0239abf44d89 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 19 Sep 2018 23:43:26 +0800 Subject: Improve linear layout. Add debug border visualization. --- CruUI/ui/layout_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CruUI/ui/layout_base.cpp') diff --git a/CruUI/ui/layout_base.cpp b/CruUI/ui/layout_base.cpp index f04d1fe8..a589d2ea 100644 --- a/CruUI/ui/layout_base.cpp +++ b/CruUI/ui/layout_base.cpp @@ -52,7 +52,7 @@ namespace cru::ui void LayoutManager::RefreshControlPositionCache(Control * control) { - auto point = Point::zero; + auto point = Point::Zero(); auto parent = control; while ((parent = parent->GetParent())) { const auto p = parent->GetPositionRelative(); -- cgit v1.2.3