mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
TSM should force itself to front if it is expanded
This commit is contained in:
parent
2b49170f6a
commit
50fdc2e5c5
1 changed files with 4 additions and 0 deletions
|
|
@ -152,6 +152,10 @@ internal class TitleScreenMenuWindow : Window, IDisposable
|
||||||
{
|
{
|
||||||
ImGui.PushStyleVar(ImGuiStyleVar.ItemSpacing, new Vector2(0, 0));
|
ImGui.PushStyleVar(ImGuiStyleVar.ItemSpacing, new Vector2(0, 0));
|
||||||
ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, new Vector2(0, 0));
|
ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, new Vector2(0, 0));
|
||||||
|
|
||||||
|
if (this.state == State.Show)
|
||||||
|
ImGui.SetNextWindowFocus();
|
||||||
|
|
||||||
base.PreDraw();
|
base.PreDraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue