fix: add main viewport position
This commit is contained in:
parent
34aa5d387e
commit
606d970794
|
@ -8,7 +8,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Dalamud, Version=5.2.4.2, Culture=neutral, PublicKeyToken=null">
|
||||
<Reference Include="Dalamud, Version=5.2.4.3, Culture=neutral, PublicKeyToken=null">
|
||||
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
|
|
|
@ -219,7 +219,7 @@ namespace ExpandedSearchInfo {
|
|||
var xPos = x + width + actualWidth > display.X
|
||||
? x - actualWidth
|
||||
: x + width;
|
||||
ImGui.SetWindowPos(new Vector2(xPos, y));
|
||||
ImGui.SetWindowPos(ImGuiHelpers.MainViewport.Pos + new Vector2(xPos, y));
|
||||
|
||||
ImGui.End();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue