Remap lang reload keybind from F12 to F8

This remaps the keybind to reload language files from F12 to F8.

This is because the F12 keybind conflicts with the default Steam keybind
to take a Steam screenshot.

I chose F8 because it is next to another keybind that reloads stuff, F9
(which reloads assets in the editor).

Fixes #1089.
This commit is contained in:
Misa
2024-01-09 11:14:11 -08:00
parent b077f24a50
commit fe21be87a2
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ void KeyPoll::Poll(void)
fullscreenkeybind = true;
}
if (loc::show_translator_menu && evt.key.keysym.sym == SDLK_F12 && !evt.key.repeat)
if (loc::show_translator_menu && evt.key.keysym.sym == SDLK_F8 && !evt.key.repeat)
{
/* Reload language files */
loc::loadtext(false);