mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-04-28 21:27:58 +03:00
Setup F11 to toggle the fullscreen CVar to keep it synced with fullscreen state. (#5128)
This commit is contained in:
parent
a6163ca2e8
commit
c18d427619
1 changed files with 4 additions and 0 deletions
|
@ -1369,6 +1369,10 @@ extern "C" void Graph_StartFrame() {
|
|||
break;
|
||||
}
|
||||
#endif
|
||||
case KbScancode::LUS_KB_F11: {
|
||||
CVarSetInteger(CVAR_SETTING("Fullscreen"), !CVarGetInteger(CVAR_SETTING("Fullscreen"), 0));
|
||||
break;
|
||||
}
|
||||
case KbScancode::LUS_KB_TAB: {
|
||||
CVarSetInteger(CVAR_ENHANCEMENT("AltAssets"), !CVarGetInteger(CVAR_ENHANCEMENT("AltAssets"), 0));
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue