Skip to content

fix: invalidate rotation/dirty caches in setRotationAngle, setX, setY#2

Closed
JohnieWalkerCZ wants to merge 1 commit into
mainfrom
worktree-immutable-shimmying-reddy
Closed

fix: invalidate rotation/dirty caches in setRotationAngle, setX, setY#2
JohnieWalkerCZ wants to merge 1 commit into
mainfrom
worktree-immutable-shimmying-reddy

Conversation

@JohnieWalkerCZ

@JohnieWalkerCZ JohnieWalkerCZ commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

setRotationAngle updated _rotationAngle without invalidating the trig
cache or marking the global matrix dirty, unlike rotate() which does
both. setX/setY had the same gap versus setPosition()/translate().
Both left globalMatrix() returning stale transforms after the call.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@JohnieWalkerCZ JohnieWalkerCZ deleted the worktree-immutable-shimmying-reddy branch July 10, 2026 12:05
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.

1 participant