From 30e4439e7b684291c21fdfd603b5e4aa7f04d5fb Mon Sep 17 00:00:00 2001 From: BDisp Date: Sun, 27 Dec 2020 18:16:44 +0000 Subject: [PATCH] Reverting the CanBeVisible method. --- Terminal.Gui/Core/View.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs index e23bb90e2..c0ec426a6 100644 --- a/Terminal.Gui/Core/View.cs +++ b/Terminal.Gui/Core/View.cs @@ -2133,11 +2133,11 @@ namespace Terminal.Gui { bool CanBeVisible (View view) { - if (!view.Visible || view.Frame.Width == 0 || view.Frame.Height == 0) { + if (!view.Visible) { return false; } for (var c = view.SuperView; c != null; c = c.SuperView) { - if (!c.Visible || c.Frame.Width == 0 || c.Frame.Height == 0) { + if (!c.Visible) { return false; } }