|
@@ -891,8 +891,7 @@ namespace Terminal.Gui {
|
|
Application.CurrentView = view;
|
|
Application.CurrentView = view;
|
|
|
|
|
|
// Ensure we don't make the Driver's clip rect any bigger
|
|
// Ensure we don't make the Driver's clip rect any bigger
|
|
- if (SuperView != null && SuperView.Bounds.Contains (RectToScreen (Frame))) {
|
|
|
|
- //if (Driver.Clip.IsEmpty || Driver.Clip.Contains(RectToScreen (view.Frame))) {
|
|
|
|
|
|
+ if (Driver.Clip.IsEmpty || Driver.Clip.Contains(RectToScreen (view.Frame))) {
|
|
var savedClip = view.ClipToBounds ();
|
|
var savedClip = view.ClipToBounds ();
|
|
view.Redraw (view.Bounds);
|
|
view.Redraw (view.Bounds);
|
|
Driver.Clip = savedClip;
|
|
Driver.Clip = savedClip;
|