Add hysteresis to PopupMenu
Created by: KoBeWi
Closes #11219
However I have some problem with menus not closing correctly, so the PR is WIP. If anyone knows why using popup()
on a sub-menu disables gui_input
on the parent popup and why changing it to show
+grab_focus
breaks nested menus, that would be helpful.
Here's some scene for testing: GUI.zip