From 61fb717d202b369fe80ddf87f2b832bd19528e2b Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Sat, 16 Nov 2024 17:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D`Animation`=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E9=80=9A=E8=BF=87=E4=BB=A3=E7=A0=81=E5=BC=80=E5=90=AF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#334)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documentation~/zh/changelog.md | 2 +- Runtime/Serie/Serie.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation~/zh/changelog.md b/Documentation~/zh/changelog.md index dfd5fd74..fffcd187 100644 --- a/Documentation~/zh/changelog.md +++ b/Documentation~/zh/changelog.md @@ -77,7 +77,7 @@ slug: /changelog ## master -* (2024.11.16) 修复`Animation`无法通过代码开启的问题 +* (2024.11.16) 修复`Animation`无法通过代码开启的问题 (#334) * (2024.11.13) 修复`DataZoom`的start和end在代码动态修改时图表不刷新的问题 * (2024.11.05) 修复`Title`设置隐藏后运行还显示的问题 * (2024.11.01) 完善`website`中英文文档 diff --git a/Runtime/Serie/Serie.cs b/Runtime/Serie/Serie.cs index 70f1fd45..ed02b5be 100644 --- a/Runtime/Serie/Serie.cs +++ b/Runtime/Serie/Serie.cs @@ -2007,7 +2007,7 @@ namespace XCharts.Runtime /// public void AnimationEnable(bool flag) { - if (!animation.enable) + if (animation.enable != flag) { animation.enable = flag; SetVerticesDirty();