浏览代码

Fixes #659 View.Redraw clipping issue.

BDisp 5 年之前
父节点
当前提交
416db4296b
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      Terminal.Gui/Core/View.cs

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

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