Explorar o código

Simplified and renamed GetLocationThatFits

Tig hai 1 ano
pai
achega
a094d02c8b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,