cherrypick from net6 fixes
This commit is contained in:
@@ -263,12 +263,12 @@ namespace MareSynchronos.Managers
|
|||||||
|
|
||||||
actionQueue.Enqueue(() =>
|
actionQueue.Enqueue(() =>
|
||||||
{
|
{
|
||||||
Logger.Verbose("Assigning temp mods for " + collectionName);
|
Logger.Verbose("Assigning temp mods for " + characterName);
|
||||||
foreach (var mod in modPaths)
|
foreach (var mod in modPaths)
|
||||||
{
|
{
|
||||||
Logger.Verbose(mod.Key + " => " + mod.Value);
|
Logger.Verbose(mod.Key + " => " + mod.Value);
|
||||||
}
|
}
|
||||||
_penumbraSetTemporaryMod.InvokeFunc("MareSynchronos", collectionName, modPaths, manipulationData, 0);
|
_penumbraSetTemporaryMod.InvokeFunc("MareSynchronos", characterName, modPaths, manipulationData, 0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ namespace MareSynchronos.UI
|
|||||||
private float _windowContentWidth = 0;
|
private float _windowContentWidth = 0;
|
||||||
|
|
||||||
public CompactUi(WindowSystem windowSystem,
|
public CompactUi(WindowSystem windowSystem,
|
||||||
UiShared uiShared, Configuration configuration, ApiController apiController)
|
UiShared uiShared, Configuration configuration, ApiController apiController) : base("###MareSynchronosMainUI")
|
||||||
|
{
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
string dateTime = "DEV VERSION";
|
string dateTime = "DEV VERSION";
|
||||||
try
|
try
|
||||||
@@ -49,10 +51,8 @@ namespace MareSynchronos.UI
|
|||||||
}
|
}
|
||||||
this.WindowName = "Mare Synchronos " + dateTime + "###MareSynchronosMainUI";
|
this.WindowName = "Mare Synchronos " + dateTime + "###MareSynchronosMainUI";
|
||||||
#else
|
#else
|
||||||
: base("Mare Synchronos " + Assembly.GetExecutingAssembly().GetName().Version + "###MareSynchronosMainUI")
|
this.WindowName = "Mare Synchronos " + Assembly.GetExecutingAssembly().GetName().Version;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
{
|
|
||||||
Logger.Verbose("Creating " + nameof(CompactUi));
|
Logger.Verbose("Creating " + nameof(CompactUi));
|
||||||
|
|
||||||
_windowSystem = windowSystem;
|
_windowSystem = windowSystem;
|
||||||
|
|||||||
Reference in New Issue
Block a user