mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Adjust sprite texts in-line with framework changes
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osuTK.Graphics;
|
||||
|
||||
@ -31,8 +32,8 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
|
||||
public float TextSize
|
||||
{
|
||||
get => statusText.TextSize;
|
||||
set => statusText.TextSize = value;
|
||||
get => statusText.Font.Size;
|
||||
set => statusText.Font = OsuFont.GetFont(statusText.Font, size: value);
|
||||
}
|
||||
|
||||
public MarginPadding TextPadding
|
||||
@ -58,7 +59,7 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Font = @"Exo2.0-Bold",
|
||||
Font = OsuFont.GetFont(weight: FontWeight.Bold)
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user