1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:02:54 +08:00

A few resharper fixes

This commit is contained in:
smoogipoo 2017-11-30 19:54:58 +09:00
parent 7e34b0f08d
commit 89772f4efd
3 changed files with 2 additions and 4 deletions

View File

@ -29,8 +29,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.RadioButtons
/// </summary>
public Action<RadioButton> Selected;
private Drawable bubble;
private readonly Drawable bubble;
private readonly RadioButton button;
public DrawableRadioButton(RadioButton button)

View File

@ -17,7 +17,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.RadioButtons
get { return items; }
set
{
if (items == value)
if (ReferenceEquals(items, value))
return;
items = value;

View File

@ -564,7 +564,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Rulesets\Edit\Tools\HitObjectCompositionTool.cs" />
<Compile Include="Rulesets\Edit\Tools\ICompositionTool.cs" />
<Compile Include="Rulesets\Edit\Tools\SelectionTool.cs" />
<Compile Include="Rulesets\Edit\HitObjectComposer.cs" />
<Compile Include="Rulesets\Edit\ToolboxGroup.cs" />
<Compile Include="Rulesets\Judgements\DrawableJudgement.cs" />