瀏覽代碼

Simplified and renamed GetLocationThatFits

Tig 1 年之前
父節點
當前提交
a094d02c8b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,