mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Added horizontal scrollbar, fixed tests
This commit is contained in:
@@ -89,13 +89,13 @@ namespace UnitTests {
|
||||
{
|
||||
var tree = CreateTree();
|
||||
|
||||
Assert.Equal(0,tree.ScrollOffset);
|
||||
Assert.Equal(0,tree.ScrollOffsetVertical);
|
||||
|
||||
tree.ScrollOffset = -100;
|
||||
Assert.Equal(0,tree.ScrollOffset);
|
||||
tree.ScrollOffsetVertical = -100;
|
||||
Assert.Equal(0,tree.ScrollOffsetVertical);
|
||||
|
||||
tree.ScrollOffset = 10;
|
||||
Assert.Equal(10,tree.ScrollOffset);
|
||||
tree.ScrollOffsetVertical = 10;
|
||||
Assert.Equal(10,tree.ScrollOffsetVertical);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user