Parcourir la source

Merge pull request #3412 from tig/v2_3411-ClearContentOnly

Fixes #3411. `Content Scrolling` Scenario
Tig il y a 1 an
Parent
commit
34b3bf8d14
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      UICatalog/Scenarios/ContentScrolling.cs

+ 2 - 0
UICatalog/Scenarios/ContentScrolling.cs

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