forked from firka/flutter
[Windows] Hide app until first frame is drawn (#109816)
This commit is contained in:
@@ -93,6 +93,11 @@ bool FlutterWindow::OnCreate() {
|
||||
}));
|
||||
|
||||
SetChildContent(flutter_controller_->view()->GetNativeWindow());
|
||||
|
||||
flutter_controller_->engine()->SetNextFrameCallback([&]() {
|
||||
this->Show();
|
||||
});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user