feat: add ScaledDummy overload for cube

This commit is contained in:
goat 2021-04-13 21:17:59 +02:00
parent c955ef6711
commit 6ecf095867
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -24,6 +24,12 @@ namespace Dalamud.Interface
/// </summary>
public static void ForceNextWindowMainViewport() => ImGui.SetNextWindowViewport(MainViewport.ID);
/// <summary>
/// Create a dummy scaled by the global Dalamud scale.
/// </summary>
/// <param name="size">The size of the dummy.</param>
public static void ScaledDummy(float size) => ImGui.Dummy(new Vector2(size * GlobalScale, size * GlobalScale));
/// <summary>
/// Create a dummy scaled by the global Dalamud scale.
/// </summary>