浏览代码

Merge pull request #2192 from tig/blue_background_windows_frameviews

Minor tweak: Windows & Frameviews Scenario - Changed Top's colorscheme to base
Tig 2 年之前
父节点
当前提交
dc6c809b95
共有 1 个文件被更改,包括 3 次插入0 次删除
  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
 			Application.Top.Remove (Win);
 			Win?.Dispose ();
+
 			Win = new Window ($"{listWin.Count} - Scenario: {GetName ()}", padding) {
 				X = Pos.Center (),
 				Y = 1,
@@ -175,6 +176,8 @@ namespace UICatalog.Scenarios {
 
 			Application.Top.Add (frame);
 			listWin.Add (frame);
+
+			Application.Top.ColorScheme = Colors.Base;
 		}
 	}
 }