mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
24e7cfb0d5
Previously, when `hex_to_hsla` was called with a color string using the #rgb format, the expansion did not add alpha values, leading to an incorrect result. This patch fixes the issue. In addition to that, parsing has been reworked, and the new function no longer makes calls to the global allocator in addition to generation much smaller code. Parsing should therefore be a bit more performant. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |