mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Fixes #1056. Window doesn't redraw his SuperView properly.
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user