瀏覽代碼

Avoid virtual dispatch by returning the most-derived concrete type available

Brandon Thetford 1 年之前
父節點
當前提交
f281d4ff33
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Application.cs

+ 1 - 1
Terminal.Gui/Application.cs

@@ -1126,7 +1126,7 @@ public static partial class Application
     }
 
     #nullable enable
-    private static View? FindDeepestTop (Toplevel start, int x, int y)
+    private static Toplevel? FindDeepestTop (Toplevel start, int x, int y)
     {
         if (!start.Frame.Contains (x, y))
         {