mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +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:
@@ -240,8 +240,8 @@ public class TreeTableSourceTests: IDisposable {
|
||||
private TableView GetTreeTable (out TreeView<IDescribedThing> tree)
|
||||
{
|
||||
var tableView = new TableView ();
|
||||
tableView.ColorScheme = Colors.TopLevel;
|
||||
tableView.ColorScheme = Colors.TopLevel;
|
||||
tableView.ColorScheme = Colors.ColorSchemes ["TopLevel"];
|
||||
tableView.ColorScheme = Colors.ColorSchemes ["TopLevel"];
|
||||
tableView.Bounds = new Rect (0, 0, 40, 6);
|
||||
|
||||
tableView.Style.ShowHorizontalHeaderUnderline = true;
|
||||
|
||||
Reference in New Issue
Block a user