zed/crates/gpui/src/elements
Kyle Kelley c7961b9054
Implement ObjectFit::ScaleDown for images (#10063)
While working towards fixes for the image viewer, @mikayla-maki and I
discovered that we didn't have `object-fit: scale-down` implemented.
This doesn't _fully_ solve the image issues as there is some issue where
only the bounds width is updating on layout change that I haven't fully
chased down.

Co-Authored-By: @mikayla-maki 

Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
2024-04-06 15:20:30 -07:00
..
anchored.rs gpui: Rework overlay element (#9911) 2024-03-29 16:26:16 +01:00
animation.rs Add an animation to the LSP checking indicator (#9463) 2024-03-19 10:16:18 -07:00
canvas.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
deferred.rs Fix panel drag leaking through overlay (#10035) 2024-04-01 12:31:19 +02:00
div.rs Remove tooltips on scroll wheel events (#10069) 2024-04-02 14:10:51 +02:00
img.rs Implement ObjectFit::ScaleDown for images (#10063) 2024-04-06 15:20:30 -07:00
list.rs Fix regressions introduced by flicker fix (#9162) 2024-03-11 12:11:51 +01:00
mod.rs gpui: Rework overlay element (#9911) 2024-03-29 16:26:16 +01:00
svg.rs Add an animation to the LSP checking indicator (#9463) 2024-03-19 10:16:18 -07:00
text.rs Revert PR #8327 - Fix autocomplete completions being cut in half (#10084) 2024-04-02 09:24:55 -07:00
uniform_list.rs Make UniformList non-occluding. (#9806) 2024-03-26 13:13:10 +02:00