Add generated code

This commit is contained in:
Brandon Presley 2023-12-01 17:50:32 +13:00
parent 9aed2b3ac1
commit a3d7e651f4
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ bool FlutterWindow::OnCreate() {
this->Show();
});
// Flutter can complete the first frame before the "show window" callback is
// registered. The following call ensures a frame is pending to ensure the
// window is shown. It is a no-op if the first frame hasn't completed yet.
flutter_controller_->ForceRedraw();
return true;
}