From c5384d496e9ed429ca2baa3ca5e586ff255235eb Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 5 Oct 2018 00:50:38 +0800 Subject: Fix several headache bugs. --- src/ui/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/window.cpp') 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() { -- cgit v1.2.3