mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +01:00
Apparent typos in ImGuiHelpers
This commit is contained in:
parent
13b64d531f
commit
7df614412a
1 changed files with 4 additions and 5 deletions
|
|
@ -41,8 +41,8 @@ namespace Dalamud.Interface
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="offset">The offset from your current cursor position.</param>
|
/// <param name="offset">The offset from your current cursor position.</param>
|
||||||
/// <param name="spacing">The spacing to use.</param>
|
/// <param name="spacing">The spacing to use.</param>
|
||||||
public static void ScaledRelativeSameLine(float offset, float spacing = -1.0f) =>
|
public static void ScaledRelativeSameLine(float offset, float spacing = -1.0f)
|
||||||
ImGui.SameLine(ImGui.GetCursorPosX() + (offset * GlobalScale));
|
=> ImGui.SameLine(ImGui.GetCursorPosX() + (offset * GlobalScale), spacing);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set the position of the next window relative to the main viewport.
|
/// Set the position of the next window relative to the main viewport.
|
||||||
|
|
@ -60,9 +60,8 @@ namespace Dalamud.Interface
|
||||||
/// <param name="name">The name/ID of the window.</param>
|
/// <param name="name">The name/ID of the window.</param>
|
||||||
/// <param name="position">The position of the window.</param>
|
/// <param name="position">The position of the window.</param>
|
||||||
/// <param name="condition">When to set the position.</param>
|
/// <param name="condition">When to set the position.</param>
|
||||||
public static void SetWindowPosRelativeMainViewport(
|
public static void SetWindowPosRelativeMainViewport(string name, Vector2 position, ImGuiCond condition = ImGuiCond.None)
|
||||||
string name, Vector2 position, ImGuiCond condition = ImGuiCond.None)
|
=> ImGui.SetWindowPos(name, position + MainViewport.Pos, condition);
|
||||||
=> ImGui.SetWindowPos(position + MainViewport.Pos, condition);
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates default color palette for use with color pickers.
|
/// Creates default color palette for use with color pickers.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue