Fix rendering of shared screens in collab panel

This commit is contained in:
Max Brunsfeld 2023-12-05 10:29:19 -08:00
parent 5e79807f6f
commit 38d41acf9b
2 changed files with 19 additions and 63 deletions

View file

@ -2816,3 +2816,9 @@ impl From<(&'static str, EntityId)> for ElementId {
ElementId::NamedInteger(name.into(), id.as_u64() as usize)
}
}
impl From<(&'static str, usize)> for ElementId {
fn from((name, id): (&'static str, usize)) -> Self {
ElementId::NamedInteger(name.into(), id)
}
}