소스 검색

Fixes #3941. v2win/v2net: UICatalog full benchmark suite crashes in Dialogs scenario (#3963)

Co-authored-by: Tig <[email protected]>
BDisp 5 달 전
부모
커밋
f26fd285ce
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 (