mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-15 13:10:35 +00:00

This makes it possible to fetch the on-screen coordinates of a drop down menu item as the menu is dismissed by clicking on it so the caller can use these coordinates to make a more informed decision as to where to spawn a submenu, improving the previous mechanism wherein the submenu would have its top left corner set at the mouse's location which would produce different results depending on where exactly in the menu item's box the mouse was at the time the parent menu was dismissed.
171 B
171 B
User interface
- Submenus are now positioned at the location of the menu item that spawned them, rather than the location of the mouse cursor at the time of click