1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Start the editor with empty artist/creator/difficulty name fields

This commit is contained in:
Dean Herbert 2021-03-17 16:47:12 +09:00
parent 891e7aadb6
commit eda891223c
2 changed files with 4 additions and 7 deletions

View File

@ -113,8 +113,6 @@ namespace osu.Game.Beatmaps
{
var metadata = new BeatmapMetadata
{
Artist = "artist",
Title = "title",
Author = user,
};
@ -128,7 +126,6 @@ namespace osu.Game.Beatmaps
BaseDifficulty = new BeatmapDifficulty(),
Ruleset = ruleset,
Metadata = metadata,
Version = "difficulty"
}
}
};

View File

@ -28,25 +28,25 @@ namespace osu.Game.Screens.Edit.Setup
},
artistTextBox = new LabelledTextBox
{
Label = "Artist",
PlaceholderText = "Artist",
Current = { Value = Beatmap.Metadata.Artist },
TabbableContentContainer = this
},
titleTextBox = new LabelledTextBox
{
Label = "Title",
PlaceholderText = "Title",
Current = { Value = Beatmap.Metadata.Title },
TabbableContentContainer = this
},
creatorTextBox = new LabelledTextBox
{
Label = "Creator",
PlaceholderText = "Creator",
Current = { Value = Beatmap.Metadata.AuthorString },
TabbableContentContainer = this
},
difficultyTextBox = new LabelledTextBox
{
Label = "Difficulty Name",
PlaceholderText = "Difficulty Name",
Current = { Value = Beatmap.BeatmapInfo.Version },
TabbableContentContainer = this
},