mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Fix the build: rename moveRgbHue to avoid clashing with the rgbHue setter; Hindi verb agreement
This commit is contained in:
1 parent
f7acb7fcd7
commit
c7961bdacf
3 files changed
+4
-4
No files matched your search
@@ -63,7 +63,7 @@ object Themes {
|
||||
var rgbHue by mutableStateOf(0f)
|
||||
private set
|
||||
|
||||
fun setRgbHue(hue: Float) {
|
||||
fun moveRgbHue(hue: Float) {
|
||||
rgbHue = hue
|
||||
}
|
||||
|
||||
@@ -174,5 +174,5 @@ private fun InnerGamerHue(speed: Int) {
|
||||
0f, 360f, infiniteRepeatable(tween(Motion.ms(Themes.rgbCycleMillis(speed)).coerceAtLeast(1), easing = LinearEasing), RepeatMode.Restart), label = "hue",
|
||||
)
|
||||
val step = Themes.RGB_HUE_STEP
|
||||
SideEffect { Themes.setRgbHue((hue / step).toInt() * step) }
|
||||
SideEffect { Themes.moveRgbHue((hue / step).toInt() * step) }
|
||||
}
|
||||
Reference in new issue
Block a user