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