Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-29 16:11:14 +08:00
parent c904a5ded8
commit 906c8f7999
19 changed files with 115 additions and 44 deletions

View File

@@ -49,9 +49,9 @@ bool FlutterWindow::OnCreate() {
SetChildContent(flutter_controller_->view()->GetNativeWindow());
flutter_controller_->engine()->SetNextFrameCallback([&]() {
this->Show();
});
// flutter_controller_->engine()->SetNextFrameCallback([&]() {
// 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