Jelajahi Sumber

Refixed OnMouseClicked - button

Tig 11 bulan lalu
induk
melakukan
7d07d847e7
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      Terminal.Gui/View/View.Mouse.cs

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

@@ -503,6 +503,8 @@ public partial class View // Mouse APIs
                     // Set the focus, but don't invoke Accept
                     SetFocus ();
                 }
+
+                mouseEvent.Handled = true;
             }
 
             if (Viewport.Contains (mouseEvent.Position))