mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-14 20:00:09 +00:00
[bug] fix editor auto refresh bug
This commit is contained in:
@@ -58,7 +58,8 @@
|
||||
|
||||
## master
|
||||
|
||||
* (2022.09.06) 增加`RingChart`可设置`LabelLine`引导线的支持
|
||||
* (2022.09.09) 修复`Editor`下编辑参数部分组件可能不会实时刷新的问题
|
||||
* (2022.09.08) 增加`RingChart`可设置`LabelLine`引导线的支持
|
||||
* (2022.09.06) 增加`SerieSymbol`的`minSize`和`maxSize`参数设置最大最小尺寸的支持
|
||||
* (2022.09.06) 增加`AxisSplitLine`的`showStartLine`和`showEndLine`参数设置是否显示首位分割线的支持
|
||||
* (2022.09.06) 增加`Heatmap`通过`symbol`设置不同的图案的支持
|
||||
|
||||
@@ -157,6 +157,11 @@ namespace XCharts.Runtime
|
||||
if (m_PainterTop) m_PainterTop.Refresh();
|
||||
}
|
||||
|
||||
public override void RefreshGraph()
|
||||
{
|
||||
RefreshChart();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Redraw chart serie in next frame.
|
||||
/// |在下一帧刷新图表的指定serie。
|
||||
|
||||
@@ -120,7 +120,7 @@ namespace XCharts.Runtime
|
||||
/// Redraw graph in next frame.
|
||||
/// |在下一帧刷新图形。
|
||||
/// </summary>
|
||||
public void RefreshGraph()
|
||||
public virtual void RefreshGraph()
|
||||
{
|
||||
m_RefreshChart = true;
|
||||
}
|
||||
|
||||
@@ -80,9 +80,9 @@ namespace XCharts.Runtime
|
||||
if (m_IsOnValidate)
|
||||
{
|
||||
m_IsOnValidate = false;
|
||||
m_RefreshChart = true;
|
||||
CheckTextMeshPro();
|
||||
InitComponent();
|
||||
RefreshGraph();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user