Explorar o código

Fixes #659 View.Redraw clipping issue.

BDisp %!s(int64=5) %!d(string=hai) anos
pai
achega
416db4296b
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      Terminal.Gui/Core/View.cs

+ 0 - 5
Terminal.Gui/Core/View.cs

@@ -984,15 +984,10 @@ namespace Terminal.Gui {
 								view.LayoutSubviews ();
 							Application.CurrentView = view;
 
-							// Clip the sub-view
-							var savedClip = view.ClipToBounds ();
-
 							// Draw the subview
 							// Use the view's bounds (view-relative; Location will always be (0,0) because
 							view.Redraw (view.Bounds);
 
-							// Undo the clip
-							Driver.Clip = savedClip;
 						}
 						view.NeedDisplay = Rect.Empty;
 						view.childNeedsDisplay = false;