修复Tooltip在图表设置其他锚点时手机上显示位置异常的问题

This commit is contained in:
monitor1394
2024-11-30 23:48:53 +08:00
parent bc1a11c4e3
commit 1bdb756ad1

View File

@@ -90,7 +90,6 @@ namespace XCharts.Runtime
if (screenPos.y > Screen.height - screenGap)
pos.y -= Mathf.Abs(screenPos.y - Screen.height) + screenGap;
Debug.Log("rect: " + chartRect);
UpdateContentPos(tooltip, pos, chartRect);
}