优化Chart放在ScrollView下时不影响ScrollView的滚动和拖动

This commit is contained in:
monitor1394
2020-07-17 09:26:01 +08:00
parent 301852cf85
commit d9e8e2e26b
4 changed files with 18 additions and 2 deletions

View File

@@ -96,6 +96,7 @@ namespace XCharts
raycastTarget = false;
m_CheckTheme = m_ThemeInfo.theme;
m_LastLocalPosition = transform.localPosition;
CheckIsInScrollRect();
UpdateSize();
InitComponent();
m_Series.AnimationReset();