Prechádzať zdrojové kódy

Set args.Handled where needed

Tig 1 rok pred
rodič
commit
3bd69c24f3
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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;
             }
         }