mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-15 04:20:09 +00:00
修复WdbGL平台上Tooltip不显示的问题
This commit is contained in:
@@ -166,7 +166,7 @@ namespace XCharts
|
||||
|
||||
public bool ScreenPointToChartPoint(Vector2 screenPoint, out Vector2 chartPoint)
|
||||
{
|
||||
#if ! UNITY_EDITOR
|
||||
#if UNITY_STANDALONE
|
||||
screenPoint = Display.RelativeMouseAt(screenPoint);
|
||||
#endif
|
||||
var cam = canvas.renderMode == RenderMode.ScreenSpaceOverlay ? null : canvas.worldCamera;
|
||||
|
||||
Reference in New Issue
Block a user