Browse Source

That method returns a nullable result

Brandon Thetford 1 year ago
parent
commit
e653be2c5f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Terminal.Gui/View/Layout/ViewLayout.cs

+ 2 - 2
Terminal.Gui/View/Layout/ViewLayout.cs

@@ -1,4 +1,4 @@
-using System.ComponentModel;
+using System.ComponentModel;
 using System.Diagnostics;
 
 namespace Terminal.Gui;
@@ -580,7 +580,7 @@ public partial class View
 
                     if (v.Visible && v.Frame.Contains (rx, ry))
                     {
-                        View deep = FindDeepestView (v, rx, ry, out resultX, out resultY);
+                        View? deep = FindDeepestView (v, rx, ry, out resultX, out resultY);
 
                         if (deep is null)
                         {