Explorar el Código

Fixes #701. HotKeys fixed.

BDisp hace 5 años
padre
commit
edac4b3d19
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Terminal.Gui/Views/Button.cs

+ 1 - 1
Terminal.Gui/Views/Button.cs

@@ -153,7 +153,7 @@ namespace Terminal.Gui {
 
 		bool CheckKey (KeyEvent key)
 		{
-			if (key.Key == HotKey) {
+			if (key.Key == (Key.AltMask | HotKey)) {
 				this.SuperView.SetFocus (this);
 				Clicked?.Invoke ();
 				return true;