GUI: add option to disable fade-in during startup

This commit is contained in:
tildearrow 2023-02-16 05:54:46 -05:00
parent 25e4da919d
commit 6fb23ab04b
3 changed files with 11 additions and 1 deletions

View file

@ -5238,7 +5238,7 @@ bool FurnaceGUI::loop() {
SDL_RenderClear(sdlRend);
mustClear--;
} else {
if (initialScreenWipe>0.0f) {
if (initialScreenWipe>0.0f && !settings.disableFadeIn) {
WAKE_UP;
initialScreenWipe-=ImGui::GetIO().DeltaTime*5.0f;
if (initialScreenWipe>0.0f) {