浏览代码

That method returns a nullable result

Brandon Thetford 1 年之前
父节点
当前提交
e653be2c5f
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)
                         {