mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 23:10:06 +00:00
Tooltip显示优化
This commit is contained in:
@@ -70,8 +70,8 @@ namespace XCharts
|
||||
|
||||
protected override void CheckTootipArea(Vector2 local)
|
||||
{
|
||||
if (local.x < zeroX || local.x > zeroX + coordinateWid ||
|
||||
local.y < zeroY || local.y > zeroY + coordinateHig)
|
||||
if (local.x < coordinateX || local.x > coordinateX + coordinateWid ||
|
||||
local.y < coordinateY || local.y > coordinateY + coordinateHig)
|
||||
{
|
||||
m_Tooltip.dataIndex = 0;
|
||||
RefreshTooltip();
|
||||
|
||||
Reference in New Issue
Block a user