Fix missed cases of incorrect .Value usage

Changing from `Bindable` to `Nullable` comes with its issues...
This commit is contained in:
Dean Herbert
2021-08-26 14:02:56 +09:00
parent e15198f077
commit 17f6efc6fe
2 changed files with 3 additions and 3 deletions

View File

@ -241,7 +241,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
private MenuItem createMenuItemForPathType(PathType? type)
{
int totalCount = Pieces.Count(p => p.IsSelected.Value);
int countOfState = Pieces.Where(p => p.IsSelected.Value).Count(p => p.ControlPoint.Type.Value == type);
int countOfState = Pieces.Where(p => p.IsSelected.Value).Count(p => p.ControlPoint.Type == type);
var item = new TernaryStateRadioMenuItem(type == null ? "Inherit" : type.ToString().Humanize(), MenuItemType.Standard, _ =>
{