diff options
author | crupest <crupest@outlook.com> | 2018-10-05 00:50:38 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-10-05 00:50:38 +0800 |
commit | c5384d496e9ed429ca2baa3ca5e586ff255235eb (patch) | |
tree | be2b26a42dc9fde97379f98f035113e08e0bc331 /src/ui/window.cpp | |
parent | 4312df1a13b182ed3f00838b5300a8f848f6c2fa (diff) | |
download | cru-c5384d496e9ed429ca2baa3ca5e586ff255235eb.tar.gz cru-c5384d496e9ed429ca2baa3ca5e586ff255235eb.tar.bz2 cru-c5384d496e9ed429ca2baa3ca5e586ff255235eb.zip |
Fix several headache bugs.
Diffstat (limited to 'src/ui/window.cpp')
-rw-r--r-- | src/ui/window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/window.cpp b/src/ui/window.cpp index ca19e8ee..9edbd398 100644 --- a/src/ui/window.cpp +++ b/src/ui/window.cpp @@ -354,8 +354,8 @@ namespace cru void Window::Relayout() { - OnMeasureContent(GetSize()); - OnLayoutContent(Rect(Point::Zero(), GetSize())); + OnMeasureCore(GetSize()); + OnLayoutCore(Rect(Point::Zero(), GetSize())); } void Window::RefreshControlList() { |