From 7669b052688fd8a5da35b0ee09b8ba0b4c794ae6 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Thu, 11 Dec 2025 16:14:36 -0300 Subject: [PATCH] image viewer: Make image metadata not a button (#44651) Tiny thing I noticed; the image metadata showing on the status bar was previously a button, but given that nothing happens when you click it, it doesn't need to be one. Having hover, active, and all other states was confusing. Release Notes: - N/A --- crates/image_viewer/src/image_info.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/image_viewer/src/image_info.rs b/crates/image_viewer/src/image_info.rs index 6e8956abc67868457f071e04f3c2a1957ff6c19c..6eedb13ed1a150094ae4882718f2384b06cfe6a7 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)) } }