From bc6e5675e93f2824812d99492dce9f3b091ba896 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Sat, 30 May 2020 18:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DEditor=E4=B8=8B=E7=82=B9?= =?UTF-8?q?=E5=87=BBData=E5=90=8E=E6=95=B0=E6=8D=AE=E4=BC=9A=E5=A4=9A?= =?UTF-8?q?=E4=B8=80=E7=BB=B4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/XCharts/Editor/PropertyDrawers/SerieDrawer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/XCharts/Editor/PropertyDrawers/SerieDrawer.cs b/Assets/XCharts/Editor/PropertyDrawers/SerieDrawer.cs index fbaeccc3..26b7875f 100644 --- a/Assets/XCharts/Editor/PropertyDrawers/SerieDrawer.cs +++ b/Assets/XCharts/Editor/PropertyDrawers/SerieDrawer.cs @@ -446,7 +446,7 @@ namespace XCharts var xWid = dataWid - 4; for (int i = 0; i < dimension; i++) { - while (i >= data.arraySize - 1) + while (i > data.arraySize - 1) { data.InsertArrayElementAtIndex(data.arraySize); }