diff --git a/src/features/game_networking.rs b/src/features/game_networking.rs index 16f7481..c88c775 100644 --- a/src/features/game_networking.rs +++ b/src/features/game_networking.rs @@ -40,12 +40,6 @@ impl From for BlockedStatus { } } -impl BlockedStatus { - pub fn to_color32(self) -> eframe::egui::Color32 { - self.into() - } -} - #[derive(Debug)] pub struct GameNetworking { com_initialized: bool, diff --git a/src/gui/colours.rs b/src/gui/colours.rs index 8b04629..ffd2ad2 100644 --- a/src/gui/colours.rs +++ b/src/gui/colours.rs @@ -14,3 +14,9 @@ impl From for egui::Color32 { } } } + +impl BlockedStatus { + pub fn to_color32(self) -> egui::Color32 { + self.into() + } +}