Skip to content

feat: add scaling to switch#110

Open
not-nullptr wants to merge 2 commits intoKTibow:mainfrom
not-nullptr:improved-switch
Open

feat: add scaling to switch#110
not-nullptr wants to merge 2 commits intoKTibow:mainfrom
not-nullptr:improved-switch

Conversation

@not-nullptr
Copy link
Copy Markdown
Contributor

in official mui3 material, switches are seen to scale when turning on and off. this implements the scaling when turning on.

@KTibow
Copy link
Copy Markdown
Owner

KTibow commented May 10, 2024

I updated the easing to take into account that the overshoot ease looks weird with multiple steps and to simplify it. I'm not 100% satisfied yet but it's something.

@not-nullptr
Copy link
Copy Markdown
Contributor Author

I updated the easing to take into account that the overshoot ease looks weird with multiple steps and to simplify it. I'm not 100% satisfied yet but it's something.

agreed that the effect isn't too great right now but its probably better than nothing

@KTibow KTibow force-pushed the main branch 2 times, most recently from 2ee771b to 1a95537 Compare January 26, 2026 16:31
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.

2 participants