gpui-component/crates
Jason Lee 832f8b8f75
svg_img: Refactor SvgImg to avoid assign source image size and fix drop image error. (#821)
## Break Change

- Removed `source` method from `SvgImg`, now need assign source in `new`
method.
- There is no need to give image size, it will read the size from SVG
file.
2025-04-29 19:25:43 +08:00
..
story svg_img: Refactor SvgImg to avoid assign source image size and fix drop image error. (#821) 2025-04-29 19:25:43 +08:00
ui svg_img: Refactor SvgImg to avoid assign source image size and fix drop image error. (#821) 2025-04-29 19:25:43 +08:00