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.

image viewer: Make image metadata not a button (#44651)

Danilo Leal7669b052688f
diff --git a/crates/image_viewer/src/image_info.rs b/crates/image_viewer/src/image_info.rs
index 6e8956abc67..6eedb13ed1a 100644
--- a/crates/image_viewer/src/image_info.rs
+++ b/crates/image_viewer/src/image_info.rs
@@ -77,9 +77,7 @@ impl Render for ImageInfo {
.to_string(),
);
- div().child(
- Button::new("image-metadata", components.join(" • ")).label_size(LabelSize::Small),
- )
+ div().child(Label::new(components.join(" • ")).size(LabelSize::Small))
}
}