Remove redundant GUI element showing during loading screens

moveref
scrawl 10 years ago
parent e69cf11029
commit 03da21f088

@ -588,16 +588,10 @@ namespace MWGui
mJournal->setVisible(true);
break;
case GM_LoadingWallpaper:
mHud->setVisible(false);
mToolTips->setVisible(false);
setCursorVisible(false);
break;
case GM_Loading:
// Show the pinned windows
mMap->setVisible(mMap->pinned() && !(mForceHidden & GW_Map));
mStatsWindow->setVisible(mStatsWindow->pinned() && !(mForceHidden & GW_Stats));
mInventoryWindow->setVisible(mInventoryWindow->pinned() && !(mForceHidden & GW_Inventory));
mSpellWindow->setVisible(mSpellWindow->pinned() && !(mForceHidden & GW_Magic));
// Don't need to show anything here - GM_LoadingWallpaper covers everything else anyway,
// GM_Loading uses a texture of the last rendered frame so everything previously visible will be rendered.
mHud->setVisible(false);
mToolTips->setVisible(false);
setCursorVisible(false);
break;

Loading…
Cancel
Save