Skip to content

Commit

Permalink
ensure check is proper
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Apr 20, 2024
1 parent 8ff43ef commit 7efa57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fancy_demo/fancy.asc
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ void FancyTextBase::Draw(DrawingSurface* surf)

bool get_IsTextBeingTyped(this FancyTypedText*)
{
return !String.IsNullOrEmpty(this._text) && (this._typed_token_count < this._tk_count);
return !String.IsNullOrEmpty(this._text) && (this._typed_token_count < this._tk_count && this._typed_token_len != -1);
}

void FancyTypedText::Skip()
Expand Down

0 comments on commit 7efa57f

Please sign in to comment.