mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Global shadows and more sane font size setting.
This commit is contained in:
18
osu.Game/Graphics/Sprites/OsuSpriteText.cs
Normal file
18
osu.Game/Graphics/Sprites/OsuSpriteText.cs
Normal file
@ -0,0 +1,18 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
|
||||
namespace osu.Game.Graphics.Sprites
|
||||
{
|
||||
class OsuSpriteText : SpriteText
|
||||
{
|
||||
public const float FONT_SIZE = 16;
|
||||
|
||||
public OsuSpriteText()
|
||||
{
|
||||
Shadow = true;
|
||||
TextSize = FONT_SIZE;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user