mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 10:20:10 +00:00
修复Overlay模式下不显示Tooltip的问题
This commit is contained in:
@@ -459,8 +459,9 @@ namespace XCharts
|
||||
{
|
||||
if (canvas == null) return;
|
||||
Vector2 local;
|
||||
var cam = canvas.renderMode == RenderMode.ScreenSpaceOverlay ? null : canvas.worldCamera;
|
||||
if (!RectTransformUtility.ScreenPointToLocalPointInRectangle(rectTransform,
|
||||
Input.mousePosition, canvas.worldCamera, out local))
|
||||
Input.mousePosition, cam, out local))
|
||||
{
|
||||
pointerPos = Vector2.zero;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace XCharts
|
||||
public class XChartsMgr : MonoBehaviour
|
||||
{
|
||||
public const string version = "1.0.5";
|
||||
public const int date = 20191215;
|
||||
public const int date = 20191216;
|
||||
|
||||
[SerializeField] private string m_NowVersion;
|
||||
[SerializeField] private string m_NewVersion;
|
||||
|
||||
Reference in New Issue
Block a user