mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Refactored ViewportSettings - Now makes more sense and LixtView works as before
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user