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

Pressing outer ring buttons from code does not work. #135

Open
perneky opened this issue Nov 18, 2016 · 1 comment
Open

Pressing outer ring buttons from code does not work. #135

perneky opened this issue Nov 18, 2016 · 1 comment

Comments

@perneky
Copy link

perneky commented Nov 18, 2016

I have tried adding a way to by pressing the internal button, open the submenu. What I did is to replace the button1.InnerArcPressed in the demo app to:

button1.InnerArcPressed += ( sender, e ) => button1.Submenu.ClickOuterRadialMenuButton( button1 );

This works, clicking the Melbourne button opens it's submenu. However if I do this on any submenu, it does not work. Adding:

button14.InnerArcPressed += ( sender, e ) => button1.Submenu.ClickOuterRadialMenuButton( button14 );

and changing button14 type to simple is not working. Basically doing this on any button that it is not part of the main menu, but a submenu, it does not work.

@perneky
Copy link
Author

perneky commented Nov 18, 2016

Update it seems to work, but only if you call ClickOuterRadialMenuButton on the root menu and not the host menu for the button.

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

No branches or pull requests

1 participant