ソースを参照

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;
             }
         }