Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextDisplayMenu] Cannot have sub-menu of 1 item #384

Merged
merged 1 commit into from
Jul 31, 2022

Conversation

patridge
Copy link
Contributor

If you have a menu with a single sub-item, it will not be recognized as a sub-menu. Selecting the resulting menu item it will neither trigger Selected nor open a sub-menu.

var menuItems = new MenuItem[]
{
    ...
    new MenuItem("Options", subItems: new MenuItem[]
    {
        new MenuItem($"Version {version}"),
    }),
};

@patridge patridge merged commit 3ea3982 into develop Jul 31, 2022
@patridge patridge deleted the patridge-#381-submenu-fix branch July 31, 2022 00:27
@adrianstevens adrianstevens added this to the Beta 7.0 milestone Aug 2, 2022
@adrianstevens adrianstevens removed this from the RC1 milestone Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants