mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Maybe fix window issues? Dunno wtf is going on.
This commit is contained in:
parent
c2fb18ab53
commit
2167ddf9d9
1 changed files with 7 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ using ImGuiNET;
|
||||||
using OtterGui.Raii;
|
using OtterGui.Raii;
|
||||||
using Penumbra.Import.Structs;
|
using Penumbra.Import.Structs;
|
||||||
using Penumbra.Mods.Manager;
|
using Penumbra.Mods.Manager;
|
||||||
using Penumbra.Services;
|
|
||||||
|
|
||||||
namespace Penumbra.UI;
|
namespace Penumbra.UI;
|
||||||
|
|
||||||
|
|
@ -31,9 +30,15 @@ public sealed class ImportPopup : Window
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Draw()
|
public override void PreDraw()
|
||||||
{
|
{
|
||||||
_modImportManager.TryUnpacking();
|
_modImportManager.TryUnpacking();
|
||||||
|
ImGui.SetNextWindowCollapsed(false, ImGuiCond.Always);
|
||||||
|
IsOpen = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Draw()
|
||||||
|
{
|
||||||
if (!_modImportManager.IsImporting(out var import))
|
if (!_modImportManager.IsImporting(out var import))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue