mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 18:30:14 +00:00
修复Unity版本兼容问题 (#154)
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
## master
|
## master
|
||||||
|
|
||||||
|
* (2021.06.10) Fixed compatibility issues with `Unity` version (#154)
|
||||||
* (2021.06.05) Improved Candlestickchart support for inverse (#152)
|
* (2021.06.05) Improved Candlestickchart support for inverse (#152)
|
||||||
* (2021.06.04) Optimized auto-refresh of custom `Theme` (#148)
|
* (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
|
* (2021.06.04) Fixed `Gauge` having an abnormal pointer position when the minimum value is negative
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
## master
|
## master
|
||||||
|
|
||||||
|
* (2021.06.10) 修复`Unity`版本兼容问题 (#154)
|
||||||
* (2021.06.05) 完善`CandlestickChart`对`inverse`的支持 (#152)
|
* (2021.06.05) 完善`CandlestickChart`对`inverse`的支持 (#152)
|
||||||
* (2021.06.04) 优化自定义主题`Theme`的自动刷新 (#148)
|
* (2021.06.04) 优化自定义主题`Theme`的自动刷新 (#148)
|
||||||
* (2021.06.04) 修复`Gauge`在最小值为负数时指针指示位置异常的问题
|
* (2021.06.04) 修复`Gauge`在最小值为负数时指针指示位置异常的问题
|
||||||
|
|||||||
@@ -70,7 +70,6 @@ namespace XCharts
|
|||||||
rect.anchorMin = new Vector2(0.5f, 0.5f);
|
rect.anchorMin = new Vector2(0.5f, 0.5f);
|
||||||
rect.anchorMax = new Vector2(0.5f, 0.5f);
|
rect.anchorMax = new Vector2(0.5f, 0.5f);
|
||||||
rect.pivot = new Vector2(0.5f, 0.5f);
|
rect.pivot = new Vector2(0.5f, 0.5f);
|
||||||
GameObjectUtility.EnsureUniqueNameForSibling(chart);
|
|
||||||
Selection.activeGameObject = chart;
|
Selection.activeGameObject = chart;
|
||||||
EditorUtility.SetDirty(chart);
|
EditorUtility.SetDirty(chart);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user