This commit is contained in:
toly
2023-08-31 07:53:30 +08:00
parent 207bf4f832
commit fcaabb18dd
30 changed files with 794 additions and 30 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;
}