diff --git a/UICatalog/Scenario.cs b/UICatalog/Scenario.cs index b526901b5f..cb25d9734d 100644 --- a/UICatalog/Scenario.cs +++ b/UICatalog/Scenario.cs @@ -180,7 +180,7 @@ public BenchmarkResults EndBenchmark () } private List? _demoKeys; - private int _currentDemoKey = 0; + private int _currentDemoKey; private void OnApplicationOnInitializedChanged (object? s, EventArgs a) { @@ -233,7 +233,6 @@ private void OnApplicationNotifyNewRunState (object? sender, RunStateEventArgs e { SubscribeAllSubViews (Application.Top!); - _currentDemoKey = 0; _demoKeys = GetDemoKeyStrokes (); Application.AddTimeout (