fix by cargo

This commit is contained in:
2025-07-07 21:30:46 +02:00
parent 8a462a899d
commit 8d8f98f73f
3 changed files with 3 additions and 8 deletions

View File

@@ -1,8 +1,6 @@
use crate::Polygon;
use iced::Color;
use kira::{
AudioManager, AudioManagerSettings, DefaultBackend, sound::static_sound::StaticSoundData,
};
use kira::sound::static_sound::StaticSoundData;
pub fn string_to_color<S: AsRef<str>>(s: S) -> Color {
match s.as_ref() {
"Green" => Color::from_rgb(0.0, 1.0, 0.0),