chore: update gpui

This commit is contained in:
reya
2025-06-17 08:00:47 +07:00
parent 440f17af18
commit 5f8e886a34
6 changed files with 366 additions and 213 deletions
+4 -5
View File
@@ -410,7 +410,7 @@ impl Sidebar {
})
}
fn render_uniform_item(
fn list_items(
&self,
rooms: &[Entity<Room>],
range: Range<usize>,
@@ -634,12 +634,11 @@ impl Render for Sidebar {
})
.child(
uniform_list(
cx.entity(),
"rooms",
rooms.len(),
move |this, range, _window, cx| {
this.render_uniform_item(&rooms, range, cx)
},
cx.processor(move |this, range, _window, cx| {
this.list_items(&rooms, range, cx)
}),
)
.h_full(),
),