Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

tasks: Use unique id for run indicator (#11846)

Bennet Bo Fenner26ffdaffe2b3
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 12aeb7baa01..5efc578eff4 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -4560,7 +4560,7 @@ impl Editor {
row: DisplayRow,
cx: &mut ViewContext<Self>,
) -> IconButton {
- IconButton::new("run_indicator", ui::IconName::Play)
+ IconButton::new(("run_indicator", row.0 as usize), ui::IconName::Play)
.icon_size(IconSize::XSmall)
.size(ui::ButtonSize::None)
.icon_color(Color::Muted)