Explorar o código

Merge pull request #3412 from tig/v2_3411-ClearContentOnly

Fixes #3411. `Content Scrolling` Scenario
Tig hai 1 ano
pai
achega
34b3bf8d14
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 ();