Browse Source

Merge pull request #2192 from tig/blue_background_windows_frameviews

Minor tweak: Windows & Frameviews Scenario - Changed Top's colorscheme to base
Tig 2 years ago
parent
commit
dc6c809b95
1 changed files with 3 additions and 0 deletions
  1. 3 0
      UICatalog/Scenarios/WindowsAndFrameViews.cs

+ 3 - 0
UICatalog/Scenarios/WindowsAndFrameViews.cs

@@ -24,6 +24,7 @@ namespace UICatalog.Scenarios {
 			//Ignore the Win that UI Catalog created and create a new one
 			//Ignore the Win that UI Catalog created and create a new one
 			Application.Top.Remove (Win);
 			Application.Top.Remove (Win);
 			Win?.Dispose ();
 			Win?.Dispose ();
+
 			Win = new Window ($"{listWin.Count} - Scenario: {GetName ()}", padding) {
 			Win = new Window ($"{listWin.Count} - Scenario: {GetName ()}", padding) {
 				X = Pos.Center (),
 				X = Pos.Center (),
 				Y = 1,
 				Y = 1,
@@ -175,6 +176,8 @@ namespace UICatalog.Scenarios {
 
 
 			Application.Top.Add (frame);
 			Application.Top.Add (frame);
 			listWin.Add (frame);
 			listWin.Add (frame);
+
+			Application.Top.ColorScheme = Colors.Base;
 		}
 		}
 	}
 	}
 }
 }