mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 00:20:18 +00:00
[bug] fix fadeout animation
This commit is contained in:
@@ -350,9 +350,11 @@ namespace XCharts.Runtime
|
||||
#endif
|
||||
if (!m_Enable || m_IsEnd)
|
||||
return true;
|
||||
|
||||
if (IsIndexAnimation())
|
||||
return m_CurrDetailProgress > m_DestDetailProgress;
|
||||
{
|
||||
if (m_FadeOut) return m_CurrDetailProgress <= m_DestDetailProgress;
|
||||
else return m_CurrDetailProgress > m_DestDetailProgress;
|
||||
}
|
||||
if (IsItemAnimation())
|
||||
return false;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user