diff options
author | crupest <crupest@outlook.com> | 2018-11-10 22:11:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-10 22:11:05 +0800 |
commit | 9cf812f77a879d5394a9158ce290f9d7e858de7d (patch) | |
tree | 83bbf3a45687be0a4f22840e295d988972de7b34 /src/ui/control.cpp | |
parent | e5513daa53cb958b0c83d575c440f40aaf40f562 (diff) | |
download | cru-9cf812f77a879d5394a9158ce290f9d7e858de7d.tar.gz cru-9cf812f77a879d5394a9158ce290f9d7e858de7d.tar.bz2 cru-9cf812f77a879d5394a9158ce290f9d7e858de7d.zip |
Refactor layout invalidation system.
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r-- | src/ui/control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/control.cpp b/src/ui/control.cpp index ed904de1..2d09a382 100644 --- a/src/ui/control.cpp +++ b/src/ui/control.cpp @@ -238,7 +238,7 @@ namespace cru::ui void Control::InvalidateLayout() { if (const auto window = GetWindow()) - LayoutManager::GetInstance()->InvalidateWindowLayout(window); + window->WindowInvalidateLayout(); } void Control::Measure(const Size& available_size) |