Jelajahi Sumber

Simplified and renamed GetLocationThatFits

Tig 1 tahun lalu
induk
melakukan
a094d02c8b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Terminal.Gui/Views/Toplevel.cs

+ 1 - 1
Terminal.Gui/Views/Toplevel.cs

@@ -380,7 +380,7 @@ public partial class Toplevel : View
     /// <param name="top">The Toplevel to adjust.</param>
     public virtual void PositionToplevel (Toplevel top)
     {
-        View superView = GetLocationThatFits (
+        View superView = GetLocationEnsuringFullVisibility (
                                               top,
                                               top.Frame.X,
                                               top.Frame.Y,