WIP: Fix compilation of gpui2

This commit is contained in:
Marshall Bowers 2023-10-26 09:51:33 +02:00
parent 965bfd8439
commit 8b972f6d8e
8 changed files with 19 additions and 21 deletions

View file

@ -53,8 +53,7 @@ impl<V: 'static> IntoAnyElement<V> for Text<V> {
}
}
impl<V: 'static> Element for Text<V> {
type ViewState = V;
impl<V: 'static> Element<V> for Text<V> {
type ElementState = Arc<Mutex<Option<TextElementState>>>;
fn id(&self) -> Option<crate::ElementId> {