mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Remove unnecessary ClearOnVisibleFalse property.
This commit is contained in:
@@ -17,7 +17,6 @@ public class Scroll : View
|
||||
public Scroll ()
|
||||
{
|
||||
WantContinuousButtonPressed = true;
|
||||
//ClearOnVisibleFalse = false;
|
||||
CanFocus = false;
|
||||
Orientation = Orientation.Vertical;
|
||||
Width = Dim.Auto (DimAutoStyle.Content, 1);
|
||||
|
||||
@@ -186,7 +186,6 @@ public class ScrollTests
|
||||
{
|
||||
var scroll = new Scroll ();
|
||||
Assert.True (scroll.WantContinuousButtonPressed);
|
||||
Assert.False (scroll.ClearOnVisibleFalse);
|
||||
Assert.False (scroll.CanFocus);
|
||||
Assert.Equal (Orientation.Vertical, scroll.Orientation);
|
||||
Assert.Equal (0, scroll.Size);
|
||||
|
||||
Reference in New Issue
Block a user