mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Merge branch 'master' into more-inspections
This commit is contained in:
@ -27,7 +27,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapSetInfo BeatmapSet
|
||||
{
|
||||
get { return beatmapSet; }
|
||||
get => beatmapSet;
|
||||
set
|
||||
{
|
||||
if (value == beatmapSet) return;
|
||||
|
@ -21,7 +21,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapSetInfo BeatmapSet
|
||||
{
|
||||
get { return beatmapSet; }
|
||||
get => beatmapSet;
|
||||
set
|
||||
{
|
||||
if (value == beatmapSet) return;
|
||||
@ -36,7 +36,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapInfo Beatmap
|
||||
{
|
||||
get { return beatmap; }
|
||||
get => beatmap;
|
||||
set
|
||||
{
|
||||
if (value == beatmap) return;
|
||||
@ -97,8 +97,8 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public string Value
|
||||
{
|
||||
get { return value.Text; }
|
||||
set { this.value.Text = value; }
|
||||
get => value.Text;
|
||||
set => this.value.Text = value;
|
||||
}
|
||||
|
||||
public Statistic(FontAwesome icon, string name)
|
||||
|
@ -36,7 +36,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapSetInfo BeatmapSet
|
||||
{
|
||||
get { return beatmapSet; }
|
||||
get => beatmapSet;
|
||||
set
|
||||
{
|
||||
if (value == beatmapSet) return;
|
||||
@ -199,7 +199,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public DifficultySelectorState State
|
||||
{
|
||||
get { return state; }
|
||||
get => state;
|
||||
set
|
||||
{
|
||||
if (value == state) return;
|
||||
@ -284,7 +284,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public int Value
|
||||
{
|
||||
get { return value; }
|
||||
get => value;
|
||||
set
|
||||
{
|
||||
this.value = value;
|
||||
|
@ -30,8 +30,8 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
|
||||
|
||||
public BeatmapSetInfo BeatmapSet
|
||||
{
|
||||
get { return playButton.BeatmapSet; }
|
||||
set { playButton.BeatmapSet = value; }
|
||||
get => playButton.BeatmapSet;
|
||||
set => playButton.BeatmapSet = value;
|
||||
}
|
||||
|
||||
public PreviewButton()
|
||||
|
@ -25,7 +25,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapSetInfo BeatmapSet
|
||||
{
|
||||
get { return beatmapSet; }
|
||||
get => beatmapSet;
|
||||
set
|
||||
{
|
||||
if (value == beatmapSet) return;
|
||||
@ -40,7 +40,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapInfo Beatmap
|
||||
{
|
||||
get { return beatmap; }
|
||||
get => beatmap;
|
||||
set
|
||||
{
|
||||
if (value == beatmap) return;
|
||||
|
@ -29,7 +29,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapSetInfo BeatmapSet
|
||||
{
|
||||
get { return beatmapSet; }
|
||||
get => beatmapSet;
|
||||
set
|
||||
{
|
||||
if (value == beatmapSet) return;
|
||||
@ -48,8 +48,8 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapInfo Beatmap
|
||||
{
|
||||
get { return successRate.Beatmap; }
|
||||
set { successRate.Beatmap = value; }
|
||||
get => successRate.Beatmap;
|
||||
set => successRate.Beatmap = value;
|
||||
}
|
||||
|
||||
public Info()
|
||||
@ -164,8 +164,8 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public Color4 TextColour
|
||||
{
|
||||
get { return textFlow.Colour; }
|
||||
set { textFlow.Colour = value; }
|
||||
get => textFlow.Colour;
|
||||
set => textFlow.Colour = value;
|
||||
}
|
||||
|
||||
public MetadataSection(string title)
|
||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
|
||||
public User User
|
||||
{
|
||||
get { return user; }
|
||||
get => user;
|
||||
set
|
||||
{
|
||||
if (user == value) return;
|
||||
|
@ -47,7 +47,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
|
||||
public APIScoreInfo Score
|
||||
{
|
||||
get { return score; }
|
||||
get => score;
|
||||
set
|
||||
{
|
||||
if (score == value) return;
|
||||
@ -212,7 +212,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
|
||||
valueText.Text = value;
|
||||
}
|
||||
get { return valueText.Text; }
|
||||
get => valueText.Text;
|
||||
}
|
||||
|
||||
public InfoColumn(string header)
|
||||
|
@ -34,7 +34,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
|
||||
public IEnumerable<APIScoreInfo> Scores
|
||||
{
|
||||
get { return scores; }
|
||||
get => scores;
|
||||
set
|
||||
{
|
||||
getScoresRequest?.Cancel();
|
||||
|
@ -24,7 +24,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public BeatmapInfo Beatmap
|
||||
{
|
||||
get { return beatmap; }
|
||||
get => beatmap;
|
||||
set
|
||||
{
|
||||
if (value == beatmap) return;
|
||||
|
Reference in New Issue
Block a user