1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 19:13:21 +08:00

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

View File

@ -154,7 +154,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
return new MenuItem[] 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())
}; };
} }
} }