mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 17:30:10 +00:00
修复Animation无法通过代码开启的问题 (#334)
This commit is contained in:
@@ -77,7 +77,7 @@ slug: /changelog
|
|||||||
|
|
||||||
## master
|
## master
|
||||||
|
|
||||||
* (2024.11.16) 修复`Animation`无法通过代码开启的问题
|
* (2024.11.16) 修复`Animation`无法通过代码开启的问题 (#334)
|
||||||
* (2024.11.13) 修复`DataZoom`的start和end在代码动态修改时图表不刷新的问题
|
* (2024.11.13) 修复`DataZoom`的start和end在代码动态修改时图表不刷新的问题
|
||||||
* (2024.11.05) 修复`Title`设置隐藏后运行还显示的问题
|
* (2024.11.05) 修复`Title`设置隐藏后运行还显示的问题
|
||||||
* (2024.11.01) 完善`website`中英文文档
|
* (2024.11.01) 完善`website`中英文文档
|
||||||
|
|||||||
@@ -2007,7 +2007,7 @@ namespace XCharts.Runtime
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public void AnimationEnable(bool flag)
|
public void AnimationEnable(bool flag)
|
||||||
{
|
{
|
||||||
if (!animation.enable)
|
if (animation.enable != flag)
|
||||||
{
|
{
|
||||||
animation.enable = flag;
|
animation.enable = flag;
|
||||||
SetVerticesDirty();
|
SetVerticesDirty();
|
||||||
|
|||||||
Reference in New Issue
Block a user