From beb6cfa6b3492f5a9d89ba99c03358c22598e7aa Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 6 Oct 2018 23:10:32 +0800 Subject: Fix all Relayout to InvalidateLayout. --- src/ui/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/window.cpp') diff --git a/src/ui/window.cpp b/src/ui/window.cpp index 9edbd398..2bebd7d4 100644 --- a/src/ui/window.cpp +++ b/src/ui/window.cpp @@ -501,7 +501,7 @@ namespace cru void Window::OnResizeInternal(const int new_width, const int new_height) { render_target_->ResizeBuffer(new_width, new_height); if (!(new_width == 0 && new_height == 0)) - Relayout(); + InvalidateLayout(); } void Window::OnSetFocusInternal() -- cgit v1.2.3