瀏覽代碼

Fixes #4160. Benchmark All launch throws System.IndexOutOfRangeException: 'Index was outside the bounds of the array.' (#4161)

BDisp 3 月之前
父節點
當前提交
6e486c718e
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      Examples/UICatalog/UICatalog.cs

+ 0 - 5
Examples/UICatalog/UICatalog.cs

@@ -428,11 +428,6 @@ public class UICatalog
 
         Application.Init (driverName: _forceDriver);
 
-        if (benchmark)
-        {
-            Application.Screen = new (0, 0, 120, 40);
-        }
-
         scenario.Main ();
 
         BenchmarkResults? results = null;