Brandon Thetford преди 1 година
родител
ревизия
3b2bd3b323
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Terminal.Gui/Application.cs

+ 1 - 1
Terminal.Gui/Application.cs

@@ -1421,7 +1421,7 @@ public static partial class Application
 
         var view = View.FindDeepestView (Current, a.MouseEvent.X, a.MouseEvent.Y, out int screenX, out int screenY);
 
-        if (view is { } && view.WantContinuousButtonPressed)
+        if (view is { WantContinuousButtonPressed: true })
         {
             WantContinuousButtonPressedView = view;
         }