Skip to content

Conversation

@paulkaplan
Copy link
Contributor

@ericrosenbaum fixes the crashing problem you found. The problem was that the highlight component gets rerendered when you switch stage mode, but the highlightedTargetId may not still be available.

The real change here is just checking that the target still exists.

Adds an integration test also, using the simplest repo I could find:

  1. Click a sprite
  2. Delete that sprite
  3. Click "Small stage mode"

/cc @BryceLTaylor I think we may want to hotfix this to master

Copy link
Contributor

@ericrosenbaum ericrosenbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants