Skip to content

Commit

Permalink
missed a deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jun 14, 2024
1 parent aa24bd0 commit 2f7fae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/colors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn change_color(streamdeck: Res<StreamDeck>) {

if let Some(kind) = streamdeck.kind() {
let key = rng.gen_range(0..kind.keys());
let color = Color::rgb(rng.gen(), rng.gen(), rng.gen());
let color = Color::linear_rgb(rng.gen(), rng.gen(), rng.gen());

streamdeck.set_key_color(key, color);
for i in 0..kind.keys() {
Expand Down

0 comments on commit 2f7fae9

Please sign in to comment.