1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

Expose Spacing and UseFullGlyphHeight

This commit is contained in:
smoogipoo 2020-03-17 16:24:33 +09:00
parent 5e3668b2ea
commit 9e7c388202

View File

@ -43,6 +43,18 @@ namespace osu.Game.Graphics.Sprites
set => blurredText.Colour = value; set => blurredText.Colour = value;
} }
public Vector2 Spacing
{
get => spriteText.Spacing;
set => spriteText.Spacing = blurredText.Spacing = value;
}
public bool UseFullGlyphHeight
{
get => spriteText.UseFullGlyphHeight;
set => spriteText.UseFullGlyphHeight = blurredText.UseFullGlyphHeight = value;
}
public GlowingSpriteText() public GlowingSpriteText()
{ {
AutoSizeAxes = Axes.Both; AutoSizeAxes = Axes.Both;