feat: clean up credits window, various improvements

This commit is contained in:
goaaats 2022-06-22 23:00:36 +02:00
parent a78754ce22
commit 07607804bc
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
2 changed files with 56 additions and 7 deletions

View file

@ -23,6 +23,13 @@ namespace Dalamud.Interface
/// </summary>
public static float GlobalScale { get; private set; }
/// <summary>
/// Gets a <see cref="Vector2"/> that is pre-scaled with the <see cref="GlobalScale"/> multiplier.
/// </summary>
/// <param name="x">Vector2 X & Y parameter.</param>
/// <returns>A scaled Vector2.</returns>
public static Vector2 ScaledVector2(float x) => new Vector2(x, x) * GlobalScale;
/// <summary>
/// Gets a <see cref="Vector2"/> that is pre-scaled with the <see cref="GlobalScale"/> multiplier.
/// </summary>