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.

project-panel: Fix playback GIF images (#21274)

Gowtham K6cba467a4e21
diff --git a/crates/image_viewer/src/image_viewer.rs b/crates/image_viewer/src/image_viewer.rs
index ed87562e649..f7647223e59 100644
--- a/crates/image_viewer/src/image_viewer.rs
+++ b/crates/image_viewer/src/image_viewer.rs
@@ -301,7 +301,8 @@ impl Render for ImageView {
img(image)
.object_fit(ObjectFit::ScaleDown)
.max_w_full()
- .max_h_full(),
+ .max_h_full()
+ .id("img"),
),
)
}