mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: add ScaledDummy overload for cube
This commit is contained in:
parent
c955ef6711
commit
6ecf095867
1 changed files with 6 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue