Fix StyleCop warnings in OpenRA.Mods.RA
This commit is contained in:
@@ -115,7 +115,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
currentSong = song;
|
||||
|
||||
// TODO: We leak the currentSong MusicInfo across map load, so compare the Filename instead.
|
||||
var item = ScrollItemWidget.Setup(song.Filename, itemTemplate, () => currentSong.Filename == song.Filename, () => { currentSong = song; Play(); }, () => {});
|
||||
var item = ScrollItemWidget.Setup(song.Filename, itemTemplate, () => currentSong.Filename == song.Filename, () => { currentSong = song; Play(); }, () => { });
|
||||
item.Get<LabelWidget>("TITLE").GetText = () => song.Title;
|
||||
item.Get<LabelWidget>("LENGTH").GetText = () => SongLengthLabel(song);
|
||||
musicList.AddChild(item);
|
||||
|
||||
Reference in New Issue
Block a user