Open airs1991 opened 1 year ago
I'm experiencing the same issue, but with a standard Button. One thing I've found is that I see this incorrect hover behavior when manually resizing the window size. But if I set the window size through GDScript e.g:
get_window().size = Vector2i(1920, 1080)
The Button behaves as normal. I'm curious if anyone else can reproduce this behavior?
Godot version
v4.2.dev4.mono.official [549fcce5f]
System information
MacOS 10.15
Issue description
I'm using the MenuButton component, which contains a popup menu. I activated the hover functionality switch to ensure that when the mouse is moved it always hovers and follows the new button. However, when I switch back and forth between full screen and windowed, or change the window size, the hover functionality is hit or miss.
Steps to reproduce
Open the Minimal reproduction project and switch between full screen and windowed, or resize the window. The position of the Popup menu will be wrong.
Minimal reproduction project
Archive.zip