mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 11:23:17 +00:00

If a mouse click causes a delay and then a message to appear, for example when moving a unit triggers an `[event]name=moveto`, then the message would sometimes flash on screen and then disappear with barely enough time to see which character's portrait was used, let alone to read it. Although there's already logic to not be triggered by the same mouseclick that caused the unit to move, it had a race condition if the MOUSE_UP happened around the time the the dialog's pre_show() function was running. (cherry picked from commit 26ead85914c9e7af9e378d583657fef7f68f6821)
162 B
162 B
Miscellaneous and Bug Fixes
- Fix: releasing a mouse button at the same time as a dialog pops up sometimes dismissed the dialog immediately (issue #8644)