mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Rename Rect to Rectangle in preparation for removal
This commit is contained in:
@@ -29,7 +29,7 @@ public class TreeViewTests
|
||||
tree.BeginInit ();
|
||||
tree.EndInit ();
|
||||
|
||||
tree.Bounds = new Rect (0, 0, 10, 10);
|
||||
tree.Bounds = new Rectangle (0, 0, 10, 10);
|
||||
|
||||
InitFakeDriver ();
|
||||
|
||||
@@ -59,7 +59,7 @@ public class TreeViewTests
|
||||
tree.EndInit ();
|
||||
|
||||
// control only allows 1 row to be viewed at once
|
||||
tree.Bounds = new Rect (0, 0, 20, 1);
|
||||
tree.Bounds = new Rectangle (0, 0, 20, 1);
|
||||
|
||||
InitFakeDriver ();
|
||||
|
||||
@@ -233,7 +233,7 @@ public class TreeViewTests
|
||||
tree.EndInit ();
|
||||
|
||||
// Make tree bounds 1 in height so that EnsureVisible always requires updating scroll offset
|
||||
tree.Bounds = new Rect (0, 0, 50, 1);
|
||||
tree.Bounds = new Rectangle (0, 0, 50, 1);
|
||||
|
||||
Assert.Null (tree.SelectedObject);
|
||||
Assert.Equal (0, tree.ScrollOffsetVertical);
|
||||
|
||||
Reference in New Issue
Block a user