BrotherV/Floating-ArcMenu

Close menu from code

Closed this issue · 2 comments

Hi bro!
I appreciate so much your help.. How can I close the menu from the code?

Thanks!

Hi my friend, if you want to close menu programmaticaly just use performClick() method. It will close the menu If it's open.

if (menu.isEnabled()){ menu.performClick(); }

This was what I needed, Thanks bro!