Expose font size and add big button test

This commit is contained in:
Dean Herbert
2022-04-26 18:14:57 +09:00
parent cd197a9380
commit 52a8f3848d
2 changed files with 37 additions and 12 deletions

View File

@ -23,6 +23,12 @@ namespace osu.Game.Graphics.UserInterface
set => text.Text = value;
}
public float TextSize
{
get => text.Font.Size;
set => text.Font = OsuFont.TorusAlternate.With(size: value);
}
public Colour4 DarkerColour
{
set