Merge remote-tracking branch 'origin/dev_nonearth' into dev_cyp

This commit is contained in:
CaiYanPeng 2022-01-13 08:57:48 +08:00
commit 10ffd8160a

View File

@ -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)
{