Inner Gamer: let Compose apply the animator scale once

This commit is contained in:
FX192 authored and Kurt Himebauch committed 2026-10-23 11:20:34 -04:00
1 parent 5f341dda16
commit b88eebe09b
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -33,7 +33,7 @@ theme while it is chosen.
`Themes.innerGamer(hue)` builds the palette for one hue through `ThemeColors.palette`, so button text
keeps the same contrast along the gradient at every hue. `DroidDeckTheme` runs one
`rememberInfiniteTransition` while Inner Gamer is chosen, so the system's animation clock drives it.
The duration goes through `Motion.ms`, so the colour holds still when animations are off in the app
or in Android's own settings. The hue is written to `Themes.rgbHue` in 3° steps, which restyles the
Compose applies Android's animator scale to it, and the colour holds still when animations are off
in the app (`Motion.scale`) or in Android's own settings. The hue is written to `Themes.rgbHue` in 3° steps, which restyles the
app only when the colour visibly moves; a slow cycle costs few recompositions.