1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 10:33:22 +08:00

Use helper in one more place

This commit is contained in:
Bartłomiej Dach 2024-11-29 09:22:29 +01:00
parent 5a9127dfc6
commit 5f092811cb
No known key found for this signature in database

View File

@ -54,9 +54,7 @@ namespace osu.Game.Screens.Edit.Setup
Caption = GameplaySettingsStrings.BackgroundHeader, Caption = GameplaySettingsStrings.BackgroundHeader,
PlaceholderText = EditorSetupStrings.ClickToSelectBackground, PlaceholderText = EditorSetupStrings.ClickToSelectBackground,
}, },
// `SupportedExtensions.AUDIO_EXTENSIONS` not used here specifically because it includes `.wav` for samples, which is strictly disallowed by ranking criteria audioTrackChooser = new FormFileSelector(SupportedExtensions.AUDIO_EXTENSIONS)
// (https://osu.ppy.sh/wiki/en/Ranking_criteria#audio)
audioTrackChooser = new FormFileSelector(@".mp3", @".ogg")
{ {
Caption = EditorSetupStrings.AudioTrack, Caption = EditorSetupStrings.AudioTrack,
PlaceholderText = EditorSetupStrings.ClickToSelectTrack, PlaceholderText = EditorSetupStrings.ClickToSelectTrack,