From a094d02c8bb318497904820e5cf187bcd1a07bc3 Mon Sep 17 00:00:00 2001 From: Tig Date: Mon, 11 Mar 2024 11:39:08 -0800 Subject: [PATCH] Simplified and renamed GetLocationThatFits --- Terminal.Gui/Views/Toplevel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/Views/Toplevel.cs b/Terminal.Gui/Views/Toplevel.cs index 19bc74a45..ed0a11501 100644 --- a/Terminal.Gui/Views/Toplevel.cs +++ b/Terminal.Gui/Views/Toplevel.cs @@ -380,7 +380,7 @@ public partial class Toplevel : View /// The Toplevel to adjust. public virtual void PositionToplevel (Toplevel top) { - View superView = GetLocationThatFits ( + View superView = GetLocationEnsuringFullVisibility ( top, top.Frame.X, top.Frame.Y,