浏览代码

Fixes #701. HotKeys fixed.

BDisp 5 年之前
父节点
当前提交
edac4b3d19
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;