mirror of
https://github.com/ppy/osu
synced 2025-01-22 05:43:14 +00:00
Made text inside SongProgressInfo scale.
This commit is contained in:
parent
29f3724047
commit
d98357aa57
@ -55,11 +55,13 @@ namespace osu.Game.Screens.Play.HUD
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.CentreLeft,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Child = new UprightUnscaledContainer
|
||||
Child = new UprightUnstretchedContainer
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.Centre,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Scaling = ScaleMode.Vertical,
|
||||
ScalingFactor = 0.5f,
|
||||
Child = timeCurrent = new OsuSpriteText
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
@ -74,11 +76,13 @@ namespace osu.Game.Screens.Play.HUD
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.Centre,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Child = new UprightUnscaledContainer
|
||||
Child = new UprightUnstretchedContainer
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.Centre,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Scaling = ScaleMode.Vertical,
|
||||
ScalingFactor = 0.5f,
|
||||
Child = progress = new OsuSpriteText
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
@ -93,11 +97,13 @@ namespace osu.Game.Screens.Play.HUD
|
||||
Origin = Anchor.CentreRight,
|
||||
Anchor = Anchor.CentreRight,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Child = new UprightUnscaledContainer
|
||||
Child = new UprightUnstretchedContainer
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.Centre,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Scaling = ScaleMode.Vertical,
|
||||
ScalingFactor = 0.5f,
|
||||
Child = timeLeft = new OsuSpriteText
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
|
Loading…
Reference in New Issue
Block a user