clippy: fix warnings in various modules in components (#31568)

* clippy: fix warnings in various modules in components

* fix: unit tests

* fix: build on android

* fix: all samplers use new_boxed
This commit is contained in:
eri 2024-03-08 15:28:04 +01:00 committed by GitHub
parent 19f1f2a8f4
commit 3a5ca785d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 107 additions and 118 deletions

View file

@ -80,7 +80,7 @@ static THREAD_TINT_COLORS: [ColorF; 8] = [
a: 0.7,
},
ColorF {
r: 255.0 / 255.0,
r: 1.0,
g: 212.0 / 255.0,
b: 83.0 / 255.0,
a: 0.7,
@ -110,7 +110,7 @@ static THREAD_TINT_COLORS: [ColorF; 8] = [
a: 0.7,
},
ColorF {
r: 255.0 / 255.0,
r: 1.0,
g: 249.0 / 255.0,
b: 201.0 / 255.0,
a: 0.7,