Don't show count when deleting only one control point

Reads better.
This commit is contained in:
Dean Herbert 2019-12-10 03:29:25 +09:00
parent 1a36179c8d
commit 1db218f908
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ public MenuItem[] ContextMenuItems
return new MenuItem[]
{
new OsuMenuItem($"Delete {"control point".ToQuantity(selectedPoints)}", MenuItemType.Destructive, () => deleteSelected())
new OsuMenuItem($"Delete {"control point".ToQuantity(selectedPoints, selectedPoints > 1 ? ShowQuantityAs.Numeric : ShowQuantityAs.None)}", MenuItemType.Destructive, () => deleteSelected())
};
}
}