Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

起動時に一瞬真っ白になるのを防ぐ #642

Merged
merged 2 commits into from
Jan 14, 2022

Conversation

Hiroshiba
Copy link
Member

@Hiroshiba Hiroshiba commented Jan 12, 2022

内容

起動時に一瞬真っ白になるのを防ぎます。
エンジン起動が完了するとインジケータが消えていたのですが、実際はエンジン起動後にキャラクターロードが完了したあとにUIが表示されるので、その間真っ白になっていたのが原因でした。

なので、キャラクターロードなどが完了したあとにUIが表示されるようにしました。

関連 Issue

close #637

その他

engineState以外にisCompletedInitialStartupという制御変数を設けました。
engineStateはエンジン再起動時にも参照されます。

Copy link
Member

@y-chan y-chan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMです。
とりあえずこの処理で問題なさそうだなと思いました。

@Hiroshiba
Copy link
Member Author

特に大きな変更じゃないのでとりあえずマージしちゃいます・・・!

@Hiroshiba Hiroshiba merged commit 422bde1 into main Jan 14, 2022
@Hiroshiba Hiroshiba deleted the 起動時に一瞬真っ白になるのを防ぐ branch January 14, 2022 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

起動時に一瞬真っ白になるのを防ぐ
2 participants