mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Fix spacer appearing on top of menu
This commit is contained in:
parent
9718a80249
commit
ed38746823
@ -367,9 +367,10 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
||||
List<MenuItem> curveTypeItems = new List<MenuItem>();
|
||||
|
||||
if (!selectedPieces.Contains(Pieces[0]))
|
||||
{
|
||||
curveTypeItems.Add(createMenuItemForPathType(null));
|
||||
|
||||
curveTypeItems.Add(new OsuMenuItemSpacer());
|
||||
curveTypeItems.Add(new OsuMenuItemSpacer());
|
||||
}
|
||||
|
||||
// todo: hide/disable items which aren't valid for selected points
|
||||
curveTypeItems.Add(createMenuItemForPathType(PathType.Linear));
|
||||
|
Loading…
Reference in New Issue
Block a user