diff options
author | crupest <crupest@outlook.com> | 2018-10-06 23:10:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-10-06 23:10:32 +0800 |
commit | beb6cfa6b3492f5a9d89ba99c03358c22598e7aa (patch) | |
tree | 5a32e5ab38f9c1273640cce62912f58bdeca5d8e /src/ui/window.cpp | |
parent | 7e870dd16e2f5b41fa6c6f687723aaa50c16274d (diff) | |
download | cru-beb6cfa6b3492f5a9d89ba99c03358c22598e7aa.tar.gz cru-beb6cfa6b3492f5a9d89ba99c03358c22598e7aa.tar.bz2 cru-beb6cfa6b3492f5a9d89ba99c03358c22598e7aa.zip |
Fix all Relayout to InvalidateLayout.
Diffstat (limited to 'src/ui/window.cpp')
-rw-r--r-- | src/ui/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() |