Browse Source

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

Brandon Thetford 1 năm trước cách đây
mục cha
commit
f281d4ff33
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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))
         {