Maintain scroll position in CollabPanel after updating entries

Co-Authored-By: Julia <julia@zed.dev>
This commit is contained in:
Antonio Scandurra
2023-12-19 16:06:00 +01:00
co-authored by Julia
parent 91b65958a7
commit dd84993d76
2 changed files with 26 additions and 25 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ impl std::fmt::Debug for ListItem {
}
}
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, Default)]
pub struct ListOffset {
pub item_ix: usize,
pub offset_in_item: Pixels,