diff --git a/Dalamud/Interface/ImGuiHelpers.cs b/Dalamud/Interface/ImGuiHelpers.cs index 1e3e8bf5b..bb17c4423 100644 --- a/Dalamud/Interface/ImGuiHelpers.cs +++ b/Dalamud/Interface/ImGuiHelpers.cs @@ -74,6 +74,12 @@ public static class ImGuiHelpers /// The size of the dummy. public static void ScaledDummy(Vector2 size) => ImGui.Dummy(size * GlobalScale); + /// + /// Create an indent scaled by the global Dalamud scale. + /// + /// The size of the indent. + public static void ScaledIndent(float size) => ImGui.Indent(size * GlobalScale); + /// /// Use a relative ImGui.SameLine() from your current cursor position, scaled by the Dalamud global scale. ///