修复Unity版本兼容问题 (#154)

This commit is contained in:
monitor1394
2021-06-10 12:54:13 +08:00
parent ae6bd4bdde
commit c9f6e9ef66
3 changed files with 2 additions and 1 deletions

View File

@@ -35,6 +35,7 @@
## master
* (2021.06.10) Fixed compatibility issues with `Unity` version (#154)
* (2021.06.05) Improved Candlestickchart support for inverse (#152)
* (2021.06.04) Optimized auto-refresh of custom `Theme` (#148)
* (2021.06.04) Fixed `Gauge` having an abnormal pointer position when the minimum value is negative

View File

@@ -35,6 +35,7 @@
## master
* (2021.06.10) 修复`Unity`版本兼容问题 (#154)
* (2021.06.05) 完善`CandlestickChart``inverse`的支持 (#152)
* (2021.06.04) 优化自定义主题`Theme`的自动刷新 (#148)
* (2021.06.04) 修复`Gauge`在最小值为负数时指针指示位置异常的问题

View File

@@ -70,7 +70,6 @@ namespace XCharts
rect.anchorMin = new Vector2(0.5f, 0.5f);
rect.anchorMax = new Vector2(0.5f, 0.5f);
rect.pivot = new Vector2(0.5f, 0.5f);
GameObjectUtility.EnsureUniqueNameForSibling(chart);
Selection.activeGameObject = chart;
EditorUtility.SetDirty(chart);
}