1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47: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 var metadata = new BeatmapMetadata
{ {
Artist = "artist",
Title = "title",
Author = user, Author = user,
}; };
@ -128,7 +126,6 @@ namespace osu.Game.Beatmaps
BaseDifficulty = new BeatmapDifficulty(), BaseDifficulty = new BeatmapDifficulty(),
Ruleset = ruleset, Ruleset = ruleset,
Metadata = metadata, Metadata = metadata,
Version = "difficulty"
} }
} }
}; };

View File

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