Skip to content

Add hysteresis to PopupMenu

Rafał Mikrut requested to merge github/fork/KoBeWi/hysteric_menus into master

Created by: KoBeWi

Closes #11219

Before: 9jAGZdts5i

After: Yq4ydIJHlQ

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

Merge request reports