1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 23:27:25 +08:00

Add visible spacer between "inherit" and other curve types

This commit is contained in:
Dean Herbert 2023-11-21 14:24:19 +09:00
parent 405ab499e9
commit 9718a80249
No known key found for this signature in database

View File

@ -369,6 +369,8 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
if (!selectedPieces.Contains(Pieces[0])) if (!selectedPieces.Contains(Pieces[0]))
curveTypeItems.Add(createMenuItemForPathType(null)); curveTypeItems.Add(createMenuItemForPathType(null));
curveTypeItems.Add(new OsuMenuItemSpacer());
// todo: hide/disable items which aren't valid for selected points // todo: hide/disable items which aren't valid for selected points
curveTypeItems.Add(createMenuItemForPathType(PathType.Linear)); curveTypeItems.Add(createMenuItemForPathType(PathType.Linear));
curveTypeItems.Add(createMenuItemForPathType(PathType.PerfectCurve)); curveTypeItems.Add(createMenuItemForPathType(PathType.PerfectCurve));