2
0
Эх сурвалжийг харах

Fixes #961. Recreates the Frame when necessary.

BDisp 4 жил өмнө
parent
commit
582cc72165

+ 4 - 1
Terminal.Gui/Core/View.cs

@@ -1690,7 +1690,10 @@ namespace Terminal.Gui {
 				else
 					h = Math.Max (height.Anchor (hostFrame.Height - _y), 0);
 			}
-			Frame = new Rect (_x, _y, w, h);
+			var r = new Rect (_x, _y, w, h);
+			if (Frame != r) {
+				Frame = new Rect (_x, _y, w, h);
+			}
 		}
 
 		// https://en.wikipedia.org/wiki/Topological_sorting