mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: regression: alpha applied to inversed text/selections
Introduced by 5f83278afd
Closes #2073
This commit is contained in:
parent
d43326d2b5
commit
cb1b7ba0c5
2 changed files with 3 additions and 1 deletions
|
|
@ -76,6 +76,8 @@
|
|||
* Fallback font (and possibly wrong color) being used when a character
|
||||
was followed by a zero-width grapheme breaking codepoint (for
|
||||
example, _LEFT-TO-RIGHT MARK_) ([#2049][2049]).
|
||||
* Regression: alpha applied to inversed text/selections
|
||||
([#2073][2073]).
|
||||
|
||||
[2039]: https://codeberg.org/dnkl/foot/issues/2039
|
||||
[2034]: https://codeberg.org/dnkl/foot/issues/2034
|
||||
|
|
|
|||
2
render.c
2
render.c
|
|
@ -744,7 +744,7 @@ render_cell(struct terminal *term, pixman_image_t *pix,
|
|||
_bg = swap;
|
||||
}
|
||||
|
||||
if (!term->window->is_fullscreen && term->colors.alpha != 0xffff) {
|
||||
else if (!term->window->is_fullscreen && term->colors.alpha != 0xffff) {
|
||||
switch (term->conf->colors.alpha_mode) {
|
||||
case ALPHA_MODE_DEFAULT: {
|
||||
if (cell->attrs.bg_src == COLOR_DEFAULT) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue