浏览代码

Set args.Handled where needed

Tig 1 年之前
父节点
当前提交
3bd69c24f3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Terminal.Gui/View/ViewMouse.cs

+ 2 - 0
Terminal.Gui/View/ViewMouse.cs

@@ -158,6 +158,7 @@ public partial class View
                     // Set the focus, but don't invoke Accept
                     SetFocus ();
                 }
+                args.Handled = true;
             }
         }
 
@@ -181,6 +182,7 @@ public partial class View
                     ColorScheme = _savedColorScheme;
                     _savedColorScheme = null;
                 }
+                args.Handled = true;
             }
         }