mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Merge pull request #962 from BDisp/set-relative-layout
Fixes #961. Recreates the Frame when necessary.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user