idk windows something

This commit is contained in:
Kima
2023-12-25 21:58:58 +01:00
parent 8e3996e2f0
commit 042522dc5a
3 changed files with 62 additions and 8 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;
}