浏览代码

Merge branch 'v2_develop' of tig:tig/Terminal.Gui into v2_develop

Tig 4 月之前
父节点
当前提交
80f98878ee
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      UICatalog/Scenario.cs

+ 1 - 2
UICatalog/Scenario.cs

@@ -180,7 +180,7 @@ public class Scenario : IDisposable
     }
 
     private List<Key>? _demoKeys;
-    private int _currentDemoKey = 0;
+    private int _currentDemoKey;
 
     private void OnApplicationOnInitializedChanged (object? s, EventArgs<bool> a)
     {
@@ -233,7 +233,6 @@ public class Scenario : IDisposable
     {
         SubscribeAllSubViews (Application.Top!);
 
-        _currentDemoKey = 0;
         _demoKeys = GetDemoKeyStrokes ();
 
         Application.AddTimeout (