mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 18:53:51 +08:00
Override text header.
This commit is contained in:
parent
db255e6814
commit
a38fc1a2e0
@ -4,9 +4,8 @@
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Framework.Screens;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
@ -16,11 +15,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
|
||||
protected override bool IsValidDirectory(DirectoryInfo info) => info?.GetFiles("osu!.*.cfg").Any() ?? false;
|
||||
|
||||
protected override OsuSpriteText CreateHeader() => new OsuSpriteText
|
||||
{
|
||||
Text = "Please select your osu!stable install location",
|
||||
Font = OsuFont.Default.With(size: 40)
|
||||
};
|
||||
public override LocalisableString HeaderText => "Please select your osu!stable install location";
|
||||
|
||||
public StableDirectorySelectScreen(TaskCompletionSource<string> taskCompletionSource)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user