fix disappearing arrows
This commit is contained in:
@@ -317,7 +317,7 @@ void ScreenNameEntry::DrawPrimitives()
|
|||||||
if( iCharIndex==iClosestIndex )
|
if( iCharIndex==iClosestIndex )
|
||||||
fZoom = SCALE(fabsf(GetClosestCharYOffset(m_fFakeBeat)),0,0.5f,g_fCharsZoomLarge,g_fCharsZoomSmall);
|
fZoom = SCALE(fabsf(GetClosestCharYOffset(m_fFakeBeat)),0,0.5f,g_fCharsZoomLarge,g_fCharsZoomSmall);
|
||||||
m_textScrollingChars[p][t].SetZoom(fZoom);
|
m_textScrollingChars[p][t].SetZoom(fZoom);
|
||||||
float fAlpha = m_textScrollingChars[p][t].GetDiffuseAlpha();
|
float fAlpha = 1;
|
||||||
if( i==0 )
|
if( i==0 )
|
||||||
fAlpha *= SCALE(GetClosestCharYOffset(m_fFakeBeat),-0.5f,0.f,0.f,1.f);
|
fAlpha *= SCALE(GetClosestCharYOffset(m_fFakeBeat),-0.5f,0.f,0.f,1.f);
|
||||||
if( i==g_iNumCharsToDrawTotal-1 )
|
if( i==g_iNumCharsToDrawTotal-1 )
|
||||||
|
|||||||
Reference in New Issue
Block a user