Skip to content

Fix sync icon rotation (remove wobbling) #216512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

zeroskyx
Copy link

This simple PR fixes the uneven rotation of the sync icon in the bottom bar. The fix is achieved by properly setting the transform origin on the icon.

Fix has been tested on both Windows and Linux.

Before:
Before.webm

After:
After.webm

Fixes #216511

@bpasero
Copy link
Member

bpasero commented Jun 18, 2024

Curious, your change only seems to impact notebooks use? I see a codicon-notebook-state-executing

@zeroskyx
Copy link
Author

Ya, I noticed that too. Looks like the spin animation is re-used, so this should fix all the rotations :)

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.

Sync icon rotation is uneven (it is wobbling)
3 participants