Added horizontal scrollbar, fixed tests

This commit is contained in:
tznind
2021-01-24 10:35:03 +00:00
parent a1fe75a983
commit 2884b8e94d
3 changed files with 52 additions and 14 deletions

View File

@@ -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);
}