remember to place to_color32 for BlockedStatus in the correct place

This commit is contained in:
2025-04-20 07:57:41 +01:00
parent 8a5d6cf38c
commit 1c9ce2a4d3
2 changed files with 6 additions and 6 deletions
-6
View File
@@ -40,12 +40,6 @@ impl From<bool> for BlockedStatus {
} }
} }
impl BlockedStatus {
pub fn to_color32(self) -> eframe::egui::Color32 {
self.into()
}
}
#[derive(Debug)] #[derive(Debug)]
pub struct GameNetworking { pub struct GameNetworking {
com_initialized: bool, com_initialized: bool,
+6
View File
@@ -14,3 +14,9 @@ impl From<BlockedStatus> for egui::Color32 {
} }
} }
} }
impl BlockedStatus {
pub fn to_color32(self) -> egui::Color32 {
self.into()
}
}