mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 08:33:50 +00:00
增加Tooltip的offset参数配置偏移
This commit is contained in:
@@ -99,7 +99,7 @@ namespace XCharts
|
||||
}
|
||||
if (selected)
|
||||
{
|
||||
m_Tooltip.UpdateContentPos(new Vector2(local.x + 18, local.y - 25));
|
||||
m_Tooltip.UpdateContentPos(local + m_Tooltip.offset);
|
||||
UpdateTooltip();
|
||||
}
|
||||
else if (m_Tooltip.IsActive())
|
||||
|
||||
Reference in New Issue
Block a user