Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix restore button (#27866)
Cole Miller4ff07bf78977
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex 4ba1fce1282..b08f1dd1cfe 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -20359,7 +20359,7 @@ fn render_diff_hunk_controls(})}).child(- Button::new("restore", "Restore")+ Button::new(("restore", row as u64), "Restore").tooltip({let focus_handle = editor.focus_handle(cx);move |window, cx| {