-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add a generic spin loader #389
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The RobrixSpinLoader component is essentially well-designed to provide a dynamic spinning loading effect. With some optimizations and flexibility enhancements, such as adding dynamic transparency, configurable segment count, and rotation speed control, it can be made more customizable and efficient. Additionally, considering performance, the calculation process can be further streamlined to avoid unnecessary complex calculations during animation frames.
15 segments with 0.1 speed: 5 segments with 1.0 speed: |
lgtm |
issue: #387
Spin loader's size could follow its
View
's size:Screencast from 2025-02-12 13-09-29.webm