alexguirre / RAGENativeUI

MIT License
115 stars 38 forks source link

AppDomain-global bool for if a menu is open #41

Closed LSPDFR-PeterU closed 5 years ago

LSPDFR-PeterU commented 5 years ago

It would be useful if LSPDFR plugins (running in the same AppDomain) could know if another plugin is rendering a menu, to avoid mulitple menus being visible at once. Is it possible, even across pools, to have a bool to indicate if any Menu.IsVisible?

alexguirre commented 5 years ago

For version 2.0, there exists the static property Menu.IsAnyMenuVisible which works across AppDomains, so any RPH plugin can know if any other RPH plugin has opened a menu.

LSPDFR-PeterU commented 5 years ago

I guess I didn't look at the right branch for this existing feature, sorry!