Fixes #1056. Window doesn't redraw his SuperView properly.

This commit is contained in:
BDisp
2020-12-26 13:56:30 +00:00
parent b4cf7ff506
commit 01c07ddc9e

View File

@@ -196,12 +196,8 @@ namespace Terminal.Gui {
// Checks if there are any SuperView view which intersect with this window.
if (SuperView != null) {
foreach (var view in SuperView.Subviews) {
if (view != this && view.Frame.IntersectsWith (Bounds)) {
view.SetNeedsLayout ();
view.SetNeedsDisplay (view.Bounds);
}
}
SuperView.SetNeedsLayout ();
SuperView.SetNeedsDisplay ();
}
}