diff options
author | crupest <crupest@outlook.com> | 2020-10-17 15:57:53 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-17 15:57:53 +0800 |
commit | 46ff47d2f47a66372ca0a8a09dd08c4fb04004f3 (patch) | |
tree | 0a1168ea234cb545f76b6d9a8031c36c0f224f5c /src/ui/UiHost.cpp | |
parent | 937b16dff40b6eba68d6bc13162f838c8432f43b (diff) | |
download | cru-46ff47d2f47a66372ca0a8a09dd08c4fb04004f3.tar.gz cru-46ff47d2f47a66372ca0a8a09dd08c4fb04004f3.tar.bz2 cru-46ff47d2f47a66372ca0a8a09dd08c4fb04004f3.zip |
Refactor timer.
Diffstat (limited to 'src/ui/UiHost.cpp')
-rw-r--r-- | src/ui/UiHost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/UiHost.cpp b/src/ui/UiHost.cpp index 5451ebce..0fdf2f53 100644 --- a/src/ui/UiHost.cpp +++ b/src/ui/UiHost.cpp @@ -156,7 +156,7 @@ void UiHost::InvalidatePaint() { void UiHost::InvalidateLayout() { log::TagDebug(log_tag, u"A relayout is requested."); if (!need_layout_) { - platform::native::IUiApplication::GetInstance()->InvokeLater( + platform::native::IUiApplication::GetInstance()->SetImmediate( [resolver = this->CreateResolver()] { if (const auto host = resolver.Resolve()) { host->Relayout(); |