mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 23:03:57 +00:00
0f33775a91
This PR adds general-purpose functions for obtaining a `Length` in viewport units. Previously in #3600 we had added specific variants of `w` and `h` that took viewport units, but I think it makes more sense to just have a primitive that can compose with any styling method that accepts a `Length` or `Into<Length>`. Release Notes: - N/A |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |