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
This commit is contained in:
Danilo Leal
2025-12-11 19:14:36 +00:00
committed by GitHub
parent 2098b67304
commit 7669b05268
+1 -3
View File
@@ -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))
}
}