[MM-43941] Optimize app resizing on Windows/Linux by waiting for the viewport to resize (#2204)

* [MM-43941] Optimize app resizing on Windows/Linux by waiting for the viewport to resize

* Some mitigations for Windows

* Make the logs sillier

* Fixed the no servers case

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Devin Binnie
2022-07-26 10:25:13 -04:00
committed by GitHub
parent 4914aef2a3
commit 829b49571f
5 changed files with 132 additions and 45 deletions

View File

@@ -40,7 +40,7 @@ import WebContentsEventManager from './webContentEvents';
const URL_VIEW_DURATION = 10 * SECOND;
const URL_VIEW_HEIGHT = 20;
enum LoadingScreenState {
export enum LoadingScreenState {
VISIBLE = 1,
FADING = 2,
HIDDEN = 3,