diff options
author | crupest <crupest@outlook.com> | 2018-09-19 23:43:26 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-19 23:43:26 +0800 |
commit | dea11f34bfab5bfd5f66dec9f2fa0239abf44d89 (patch) | |
tree | 89ba9f88b86c22b25506e43277c3a2fc51a9c2c9 /CruUI/ui/layout_base.cpp | |
parent | 9caec47adf266946fdce290aaf5ec0c865197650 (diff) | |
download | cru-dea11f34bfab5bfd5f66dec9f2fa0239abf44d89.tar.gz cru-dea11f34bfab5bfd5f66dec9f2fa0239abf44d89.tar.bz2 cru-dea11f34bfab5bfd5f66dec9f2fa0239abf44d89.zip |
Improve linear layout. Add debug border visualization.
Diffstat (limited to 'CruUI/ui/layout_base.cpp')
-rw-r--r-- | CruUI/ui/layout_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |