Turn on warnings, resolve issues

This commit is contained in:
smoogipoo
2019-04-25 17:36:17 +09:00
parent 8d8258c039
commit 0bd35ab7bb
71 changed files with 116 additions and 182 deletions

View File

@ -68,9 +68,11 @@ namespace osu.Game.Rulesets.Edit
get => state;
set
{
if (state == value) return;
if (state == value)
return;
state = value;
switch (state)
{
case SelectionState.Selected:
@ -82,6 +84,8 @@ namespace osu.Game.Rulesets.Edit
Deselected?.Invoke(this);
break;
}
StateChanged?.Invoke(state);
}
}