fix blinking cursor w/ formatted answer
This commit is contained in:
@@ -139,10 +139,11 @@ void ScreenTextEntry::UpdateAnswerText()
|
|||||||
else
|
else
|
||||||
s = WStringToRString(m_sAnswer);
|
s = WStringToRString(m_sAnswer);
|
||||||
|
|
||||||
|
bool bAnswerFull = (int) s.length() >= g_iMaxInputLength;
|
||||||
|
|
||||||
if( g_pFormatAnswerForDisplay )
|
if( g_pFormatAnswerForDisplay )
|
||||||
s = g_pFormatAnswerForDisplay( s );
|
s = g_pFormatAnswerForDisplay( s );
|
||||||
|
|
||||||
bool bAnswerFull = (int) s.length() >= g_iMaxInputLength;
|
|
||||||
if( m_bShowAnswerCaret && !bAnswerFull )
|
if( m_bShowAnswerCaret && !bAnswerFull )
|
||||||
s += '_';
|
s += '_';
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user