Ver Fonte

Set args.Handled where needed

Tig há 1 ano atrás
pai
commit
3bd69c24f3
1 ficheiros alterados com 2 adições e 0 exclusões
  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;
             }
         }