mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 17:30:10 +00:00
修复#issue 8:在Screen Space-Camera模式下tooltip显示异常
This commit is contained in:
@@ -342,7 +342,7 @@ namespace XCharts
|
|||||||
Vector2 local;
|
Vector2 local;
|
||||||
|
|
||||||
if (!RectTransformUtility.ScreenPointToLocalPointInRectangle(rectTransform,
|
if (!RectTransformUtility.ScreenPointToLocalPointInRectangle(rectTransform,
|
||||||
Input.mousePosition, null, out local))
|
Input.mousePosition, canvas.worldCamera, out local))
|
||||||
{
|
{
|
||||||
m_Tooltip.SetActive(false);
|
m_Tooltip.SetActive(false);
|
||||||
RefreshChart();
|
RefreshChart();
|
||||||
|
|||||||
Reference in New Issue
Block a user