在线人海拔图位置超出边界隐藏
This commit is contained in:
parent
02111a57b1
commit
dc4cf87bc4
@ -282,7 +282,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
//超出边界隐藏
|
||||
var start = graph.HorizontalScrolling;
|
||||
var end = graph.HorizontalScrolling + graph.DataSource.HorizontalViewSize;
|
||||
headPanel.SetActive( viewIndex >= start && viewIndex <= end);
|
||||
headPanel.SetActive(nextIndex >= start && nextIndex <= end);
|
||||
//显示头像
|
||||
if (head == null)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user