1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 16:42:57 +08:00

Adjust button font size.

This commit is contained in:
Dean Herbert 2017-01-31 18:40:04 +09:00
parent 6ca974bf0c
commit 687b634fb3

View File

@ -7,6 +7,7 @@ using osu.Framework.Allocation;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface; using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.Backgrounds; using osu.Game.Graphics.Backgrounds;
using osu.Game.Overlays;
namespace osu.Game.Graphics.UserInterface namespace osu.Game.Graphics.UserInterface
{ {
@ -15,6 +16,7 @@ namespace osu.Game.Graphics.UserInterface
public OsuButton() public OsuButton()
{ {
Height = 40; Height = 40;
SpriteText.TextSize = OptionsOverlay.FONT_SIZE;
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]