mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
fix: rename ImGuiHelpers.ForceMainWindow() => ForceMainViewport()
This commit is contained in:
parent
5f03654eee
commit
7d5680badd
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue