From 59d8b7fb524f6e1d5c4d49369ad537c9eda67a9e Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Wed, 11 Dec 2019 01:38:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D`Series->Data->Size`=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA0=E5=90=8E=E8=AE=BE=E7=BD=AE=E6=97=A0?= =?UTF-8?q?=E6=95=88=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 a94210c0..5526a12a 100644 --- a/Assets/XCharts/Editor/PropertyDrawers/SerieDrawer.cs +++ b/Assets/XCharts/Editor/PropertyDrawers/SerieDrawer.cs @@ -353,7 +353,7 @@ namespace XCharts var xWid = dataWid - 4; for (int i = 0; i < dimension; i++) { - if (i >= data.arraySize - 1) + while (i >= data.arraySize - 1) { data.InsertArrayElementAtIndex(data.arraySize); }