Browse Source

Merge pull request #3412 from tig/v2_3411-ClearContentOnly

Fixes #3411. `Content Scrolling` Scenario
Tig 1 year ago
parent
commit
34b3bf8d14
1 changed files with 2 additions and 0 deletions
  1. 2 0
      UICatalog/Scenarios/ContentScrolling.cs

+ 2 - 0
UICatalog/Scenarios/ContentScrolling.cs

@@ -104,6 +104,8 @@ public class ContentScrolling : Scenario
         Window app = new ()
         Window app = new ()
         {
         {
             Title = $"{Application.QuitKey} to Quit - Scenario: {GetName ()}",
             Title = $"{Application.QuitKey} to Quit - Scenario: {GetName ()}",
+            // Use a different colorscheme so ViewSettings.ClearContentOnly is obvious
+            ColorScheme = Colors.ColorSchemes ["Toplevel"]
         };
         };
 
 
         var editor = new AdornmentsEditor ();
         var editor = new AdornmentsEditor ();