mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +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>();
|
List<MenuItem> curveTypeItems = new List<MenuItem>();
|
||||||
|
|
||||||
if (!selectedPieces.Contains(Pieces[0]))
|
if (!selectedPieces.Contains(Pieces[0]))
|
||||||
|
{
|
||||||
curveTypeItems.Add(createMenuItemForPathType(null));
|
curveTypeItems.Add(createMenuItemForPathType(null));
|
||||||
|
curveTypeItems.Add(new OsuMenuItemSpacer());
|
||||||
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));
|
||||||
|
Loading…
Reference in New Issue
Block a user