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

MenuButton's switch_on_hover property ignores its own popup menu. #99842

Closed
Mautar55 opened this issue Nov 29, 2024 · 0 comments · Fixed by #99849
Closed

MenuButton's switch_on_hover property ignores its own popup menu. #99842

Mautar55 opened this issue Nov 29, 2024 · 0 comments · Fixed by #99849
Milestone

Comments

@Mautar55
Copy link

Tested versions

  • Reproducible in 4.4, 4.3 and 4.2 .

System information

Windows 10 64bits, Godot 4.4 mainly

Issue description

When enabling the "Switch on hover" property for a Menu Button, a button requested to change will ignore if its own popup menu is in between the cursor and the other Menu Button. This results in undesirable behavior on a vertical layout.

Image

Steps to reproduce

  1. Open the default scene.
  2. Click on menu A.
  3. With its popup menu deployed, move the cursor where menu B would be.

Please note that switch on hover is enabled on both.

Minimal reproduction project (MRP)

bug_menu.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants