diff --git a/Terminal.Gui/View/Layout/ViewLayout.cs b/Terminal.Gui/View/Layout/ViewLayout.cs index ec460fa25..3786a86eb 100644 --- a/Terminal.Gui/View/Layout/ViewLayout.cs +++ b/Terminal.Gui/View/Layout/ViewLayout.cs @@ -580,12 +580,7 @@ public partial class View { View? deep = FindDeepestView (v, rx, ry, out resultX, out resultY); - if (deep is null) - { - return v; - } - - return deep; + return deep ?? v; } } }