ソースを参照

Do not trigger console via alt->tab

Dydzio 1 年間 前
コミット
30a9a32549
1 ファイル変更3 行追加0 行削除
  1. 3 0
      client/adventureMap/CInGameConsole.cpp

+ 3 - 0
client/adventureMap/CInGameConsole.cpp

@@ -151,6 +151,9 @@ void CInGameConsole::keyPressed (EShortcut key)
 		break;
 
 	case EShortcut::GAME_ACTIVATE_CONSOLE:
+		if(GH.isKeyboardAltDown())
+			return; //QoL for alt-tab operating system shortcut
+
 		if(!enteredText.empty())
 			endEnteringText(false);
 		else