Browse Source

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

BDisp 3 tháng trước cách đây
mục cha
commit
6e486c718e
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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;