Merge branch 'master' into more-inspections

This commit is contained in:
Dean Herbert
2019-02-28 14:32:57 +09:00
committed by GitHub
130 changed files with 290 additions and 317 deletions

View File

@ -53,7 +53,7 @@ namespace osu.Game.Overlays.Music
public bool Selected
{
get { return selected; }
get => selected;
set
{
if (value == selected) return;
@ -144,7 +144,7 @@ namespace osu.Game.Overlays.Music
public bool MatchingFilter
{
get { return matching; }
get => matching;
set
{
if (matching == value) return;

View File

@ -34,8 +34,8 @@ namespace osu.Game.Overlays.Music
public new MarginPadding Padding
{
get { return base.Padding; }
set { base.Padding = value; }
get => base.Padding;
set => base.Padding = value;
}
public BeatmapSetInfo FirstVisibleSet => items.FirstVisibleSet;
@ -109,8 +109,8 @@ namespace osu.Game.Overlays.Music
public string SearchTerm
{
get { return search.SearchTerm; }
set { search.SearchTerm = value; }
get => search.SearchTerm;
set => search.SearchTerm = value;
}
public BeatmapSetInfo FirstVisibleSet => items.FirstOrDefault(i => i.MatchingFilter)?.BeatmapSetInfo;