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:
Tig
2024-01-15 17:46:53 -07:00
committed by GitHub
parent b84862d0bd
commit 2c725b877f
81 changed files with 614 additions and 563 deletions

View File

@@ -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;