mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Merge branch 'master' into fix/zero-listings
This commit is contained in:
commit
1dad54f17b
1 changed files with 6 additions and 0 deletions
|
|
@ -74,6 +74,12 @@ public static class ImGuiHelpers
|
|||
/// <param name="size">The size of the dummy.</param>
|
||||
public static void ScaledDummy(Vector2 size) => ImGui.Dummy(size * GlobalScale);
|
||||
|
||||
/// <summary>
|
||||
/// Create an indent scaled by the global Dalamud scale.
|
||||
/// </summary>
|
||||
/// <param name="size">The size of the indent.</param>
|
||||
public static void ScaledIndent(float size) => ImGui.Indent(size * GlobalScale);
|
||||
|
||||
/// <summary>
|
||||
/// Use a relative ImGui.SameLine() from your current cursor position, scaled by the Dalamud global scale.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue