mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 01:49:54 +00:00
Loading screen should now be visible.
This commit is contained in:
parent
fdea94d84e
commit
5ffd884b14
1 changed files with 4 additions and 3 deletions
|
@ -451,7 +451,7 @@ namespace MWVR
|
|||
{
|
||||
}
|
||||
|
||||
static const LayerConfig createDefaultConfig(int priority, bool background = true, SizingMode sizingMode = SizingMode::Auto)
|
||||
static const LayerConfig createDefaultConfig(int priority, bool background = true, SizingMode sizingMode = SizingMode::Auto, std::string extraLayers = "Popup")
|
||||
{
|
||||
return LayerConfig{
|
||||
priority,
|
||||
|
@ -465,12 +465,12 @@ namespace MWVR
|
|||
osg::Vec2(1,1),
|
||||
sizingMode,
|
||||
TrackingMode::Menu,
|
||||
"Popup"
|
||||
extraLayers
|
||||
};
|
||||
}
|
||||
LayerConfig gDefaultConfig = createDefaultConfig(1);
|
||||
LayerConfig gVideoPlayerConfig = createDefaultConfig(1, true, SizingMode::Fixed);
|
||||
LayerConfig gLoadingScreenConfig = createDefaultConfig(1, true, SizingMode::Fixed);
|
||||
LayerConfig gLoadingScreenConfig = createDefaultConfig(1, true, SizingMode::Fixed, "Menu");
|
||||
LayerConfig gMainMenuConfig = createDefaultConfig(1, true);
|
||||
LayerConfig gJournalBooksConfig = createDefaultConfig(2, false, SizingMode::Fixed);
|
||||
LayerConfig gDefaultWindowsConfig = createDefaultConfig(3, true);
|
||||
|
@ -554,6 +554,7 @@ namespace MWVR
|
|||
{"MainMenu", gMainMenuConfig},
|
||||
{"Notification", gNotificationConfig},
|
||||
{"InputBlocker", gVideoPlayerConfig},
|
||||
{"Menu", gVideoPlayerConfig},
|
||||
{"LoadingScreen", gLoadingScreenConfig},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue