[Windows] Address feedback for show window comment (#127998)
Address Tong's feedback here: https://github.com/flutter/flutter/issues/127695#issuecomment-1564884872 Follow-up to: https://github.com/flutter/flutter/pull/127046
This commit is contained in:
@@ -36,8 +36,8 @@ bool FlutterWindow::OnCreate() {
|
||||
});
|
||||
|
||||
// Flutter can complete the first frame before the "show window" callback is
|
||||
// registered. Ensure a frame is pending to ensure the window is shown.
|
||||
// This no-ops if the first frame hasn't completed yet.
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user