mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 12:08:46 +00:00
修复Tooltip在图表设置其他锚点时手机上显示位置异常的问题
This commit is contained in:
@@ -90,7 +90,6 @@ namespace XCharts.Runtime
|
|||||||
if (screenPos.y > Screen.height - screenGap)
|
if (screenPos.y > Screen.height - screenGap)
|
||||||
pos.y -= Mathf.Abs(screenPos.y - Screen.height) + screenGap;
|
pos.y -= Mathf.Abs(screenPos.y - Screen.height) + screenGap;
|
||||||
|
|
||||||
Debug.Log("rect: " + chartRect);
|
|
||||||
UpdateContentPos(tooltip, pos, chartRect);
|
UpdateContentPos(tooltip, pos, chartRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user