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.

debugger: Truncate scope names to avoid text overlapping in variable list (#42230)

Anthony Eid7475bdaf20c7
diff --git a/crates/debugger_ui/src/session/running/variable_list.rs b/crates/debugger_ui/src/session/running/variable_list.rs
index 3da1bd33c4a..7d736aace58 100644
--- a/crates/debugger_ui/src/session/running/variable_list.rs
+++ b/crates/debugger_ui/src/session/running/variable_list.rs
@@ -1404,6 +1404,7 @@ impl VariableList {
div()
.text_ui(cx)
.w_full()
+ .truncate()
.when(self.disabled, |this| {
this.text_color(Color::Disabled.color(cx))
})