remember to place to_color32 for BlockedStatus in the correct place
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -14,3 +14,9 @@ impl From<BlockedStatus> for egui::Color32 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl BlockedStatus {
|
||||||
|
pub fn to_color32(self) -> egui::Color32 {
|
||||||
|
self.into()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user