mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-25 10:40:57 +08:00
ToggleSwitchShowCase materializes 13 Switch controls in the measured Gallery shape. Navigation/materialization runs when the user opens the Switch showcase; loading animation/render paths can run repeatedly while a Switch is loading. Avoid duplicate transition lifecycle overrides, keep the loading cursor override scoped to loading state, cache the loading indicator pen, and skip wave playback when wave effects are disabled. Verification: dotnet build tools/performances/AtomUI.Performance/AtomUI.Performance.csproj -c Debug --framework net10.0; dotnet run --project tools/performances/AtomUI.Performance/AtomUI.Performance.csproj -c Debug --framework net10.0 --no-build -- --verify-switch-states.