MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
344 stars 89 forks source link

Double clicking on a game entry on the load menu should load the game #242

Closed Rampoina closed 1 year ago

Rampoina commented 1 year ago

For better UX it would be nice if double clicking on a saved game entry loaded the game instead of having to press the "Load Saved Game" button

pavanvo commented 1 year ago

@Rampoina this check prevent second click https://github.com/MegaGlest/megaglest-source/blob/22a474b93bf95e29d3f784cf1a533d177e1c62a4/source/glest_game/menu/menu_state_load_game.cpp#L278

pavanvo commented 1 year ago

as I see, buttons haven't double click event, maybe we need to find all places for this improvements, before implement double click

Rampoina commented 1 year ago

@pavanvo I've added the event to the menus in #243 , now any of them can implement it

maybe we need to find all places for this improvements, before implement double click

of course, If you can think of others mention it here or open an issue

Maybe on the mod menu, but that's not as clear