[Windows] Hide app until first frame is drawn (#109816)

This commit is contained in:
Loïc Sharma
2022-08-30 07:26:21 -07:00
committed by GitHub
parent df3419bd21
commit c60cf97c19
29 changed files with 180 additions and 91 deletions

View File

@@ -31,7 +31,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720);
if (!window.CreateAndShow(L"flutter_gallery", origin, size)) {
if (!window.Create(L"flutter_gallery", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);