Skip to content

BUG FIX: reset text frame index when spinner text is reassigned#192

Open
SAY-5 wants to merge 1 commit into
manrajgrover:masterfrom
SAY-5:fix-text-index-reset
Open

BUG FIX: reset text frame index when spinner text is reassigned#192
SAY-5 wants to merge 1 commit into
manrajgrover:masterfrom
SAY-5:fix-text-index-reset

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 12, 2026

Copy link
Copy Markdown

Description of new feature, or changes

The text setter rebuilds the animation frames but never reset _text_index, so reassigning a shorter animated message while a spinner is running raises IndexError: list index out of range in text_frame(). This resets the index, matching what the spinner setter already does.

Checklist

  • Your branch is up-to-date with the base branch
  • You've included at least one test if this is a new feature
  • All tests are passing

Related Issues and Discussions

Fixes #162

People to notify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Crash when using an animation and switching to a new animated message shorter than current position

1 participant