mirror of
https://github.com/ppy/osu
synced 2025-02-21 21:17:13 +00:00
Start the editor with empty artist/creator/difficulty name fields
This commit is contained in:
parent
891e7aadb6
commit
eda891223c
@ -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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -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
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user