fix by cargo
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user