mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Merge pull request #1017 from BDisp/window-frame
Fixes #1016. Window is drawing its frame over the menu.
This commit is contained in:
@@ -193,6 +193,16 @@ namespace Terminal.Gui {
|
||||
Driver.SetAttribute (ColorScheme.HotNormal);
|
||||
Driver.DrawWindowTitle (scrRect, Title, padding, padding, padding, padding);
|
||||
Driver.SetAttribute (ColorScheme.Normal);
|
||||
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user