mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Fixes #2944. Makes ColorScheme explicitly readonly, removes Colors.Base, etc..., Fixes intermittent TreeView unit test failures (#3175)
* Removed resharper settings from editorconfig * Moved ColorScheme to ColorScheme.cs * Moved ColorScheme to ColorScheme.cs * Potential fix. PlatformColor was not being set by FakeDriver correctly. * Made ColorScheme effectively readonly * Removed Color.Base etc... Updated API docs.
This commit is contained in:
@@ -37,7 +37,7 @@ public class TextViewTests {
|
||||
// 01234567890123456789012345678901=32 (Length)
|
||||
var buff = Encoding.Unicode.GetBytes (txt);
|
||||
var ms = new System.IO.MemoryStream (buff).ToArray ();
|
||||
_textView = new TextView () { Width = 30, Height = 10, ColorScheme = Colors.Base };
|
||||
_textView = new TextView () { Width = 30, Height = 10, ColorScheme = Colors.ColorSchemes ["Base"] };
|
||||
_textView.Text = Encoding.Unicode.GetString (ms);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user