Get the chat panel wired up again

This commit is contained in:
Max Brunsfeld
2023-12-08 12:31:07 -08:00
parent 213ed2028c
commit c7d8169cab
6 changed files with 211 additions and 226 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ impl ListState {
}
pub fn set_scroll_handler(
&mut self,
&self,
handler: impl FnMut(&ListScrollEvent, &mut WindowContext) + 'static,
) {
self.0.borrow_mut().scroll_handler = Some(Box::new(handler))