ZIm/crates/gpui2
Nathan Sobo 30624b9899
Fix anti-aliasing artifacts in GPUI 2 borders (#3818)
Previously, we changed borders to be drawn after content, so they are no
longer part of the same quads as the background. In our change, we gave
the background quad a transparent black border and the border quads
transparent black backgrounds. However, this caused the other channels
to blend toward that black color before becoming fully transparent,
causing them to become darker.

In this PR, I source the "placeholder" color by duplicating the values
for the other channels and only adjust the alpha down to zero.

Release Notes:

- N/A
2024-01-02 10:32:23 -07:00
..
docs Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
src Fix anti-aliasing artifacts in GPUI 2 borders (#3818) 2024-01-02 10:32:23 -07:00
tests Restore impl_actions! and remove derive(Action) 2023-12-10 19:33:38 -07:00
build.rs Introduce surface rendering 2023-11-28 16:47:31 +01:00
Cargo.toml Extend theme_importer in preparation for importing Zed1 themes (#3791) 2023-12-22 13:47:30 -05:00