mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 17:28:01 +01:00
Reverting the CanBeVisible method.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user