WIP: Compiling, many warnings, haven't tested

This commit is contained in:
Nathan Sobo 2023-04-12 12:54:24 -06:00
parent 25ad635577
commit b89c4e06be
4 changed files with 34 additions and 32 deletions

View file

@ -1943,7 +1943,8 @@ mod tests {
let mut result = Vec::new();
let mut project_entries = HashSet::new();
let mut has_editor = false;
cx.render(panel, |panel, cx| {
panel.update(cx, |panel, cx| {
panel.for_each_visible_entry(range, cx, |project_entry, details, _| {
if details.is_editing {
assert!(!has_editor, "duplicate editor entry");