1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 12:22:57 +08:00
This commit is contained in:
HiddenNode 2022-08-31 22:18:52 +01:00
parent a548b28158
commit 921a9ef895

View File

@ -5,6 +5,7 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics;
@ -21,7 +22,6 @@ namespace osu.Game.Tests.Visual.UserInterface
private readonly OsuSpriteText osuSpriteText = new OsuSpriteText();
private readonly SizePreservingSpriteText sizePreservingSpriteText = new SizePreservingSpriteText();
public TestSceneSizePreservingSpriteText()
: base(1, 2)
{
@ -90,7 +90,7 @@ namespace osu.Game.Tests.Visual.UserInterface
protected override void Update()
{
base.Update();
osuSpriteText.Text = sizePreservingSpriteText.Text = DateTime.Now.ToString();
osuSpriteText.Text = sizePreservingSpriteText.Text = DateTime.Now.ToString(CultureInfo.InvariantCulture);
}
}
}