Refactored ViewportSettings - Now makes more sense and LixtView works as before

This commit is contained in:
Tig
2024-04-11 10:42:18 -06:00
parent d49bc3c06f
commit 7644f631f0
8 changed files with 138 additions and 113 deletions

View File

@@ -630,7 +630,7 @@ public class ToScreenTests (ITestOutputHelper output)
{
Width = 10,
Height = 10,
ScrollSettings = ScrollSettings.AllowViewportOutsideContent
ViewportSettings = ViewportSettings.AllowNegativeLocation
};
Rectangle testRect = new Rectangle (0, 0, 1, 1);

View File

@@ -161,7 +161,7 @@ public class ViewportTests (ITestOutputHelper output)
{
Width = 10,
Height = 10,
ScrollSettings = ScrollSettings.AllowViewportOutsideContent
ViewportSettings = ViewportSettings.AllowNegativeLocation
};
Assert.Equal (new Rectangle (0, 0, 10, 10), view.Frame);