fix: rename ImGuiHelpers.ForceMainWindow() => ForceMainViewport()

This commit is contained in:
goat 2021-04-05 23:35:33 +02:00
parent 5f03654eee
commit 7d5680badd
2 changed files with 3 additions and 3 deletions

View file

@ -141,7 +141,7 @@ namespace Dalamud.Interface.Windowing
this.ApplyConditionals();
if (this.ForceMainWindow)
ImGuiHelpers.ForceMainWindow();
ImGuiHelpers.ForceMainViewport();
if (ImGui.Begin(this.WindowName, ref this.internalIsOpen, this.Flags))
{
@ -179,7 +179,7 @@ namespace Dalamud.Interface.Windowing
var pos = this.Position.Value;
if (this.ForceMainWindow)
pos += ImGuiHelpers.MainWindowPos;
pos += ImGuiHelpers.MainViewport.Pos;
ImGui.SetNextWindowPos(pos, this.PositionCondition);
}