diff --git a/Dalamud/Interface/ImGuiHelpers.cs b/Dalamud/Interface/ImGuiHelpers.cs index 2ce4d6112..bfe90b712 100644 --- a/Dalamud/Interface/ImGuiHelpers.cs +++ b/Dalamud/Interface/ImGuiHelpers.cs @@ -41,8 +41,8 @@ namespace Dalamud.Interface /// /// The offset from your current cursor position. /// The spacing to use. - public static void ScaledRelativeSameLine(float offset, float spacing = -1.0f) => - ImGui.SameLine(ImGui.GetCursorPosX() + (offset * GlobalScale)); + public static void ScaledRelativeSameLine(float offset, float spacing = -1.0f) + => ImGui.SameLine(ImGui.GetCursorPosX() + (offset * GlobalScale), spacing); /// /// Set the position of the next window relative to the main viewport. @@ -60,9 +60,8 @@ namespace Dalamud.Interface /// The name/ID of the window. /// The position of the window. /// When to set the position. - public static void SetWindowPosRelativeMainViewport( - string name, Vector2 position, ImGuiCond condition = ImGuiCond.None) - => ImGui.SetWindowPos(position + MainViewport.Pos, condition); + public static void SetWindowPosRelativeMainViewport(string name, Vector2 position, ImGuiCond condition = ImGuiCond.None) + => ImGui.SetWindowPos(name, position + MainViewport.Pos, condition); /// /// Creates default color palette for use with color pickers.