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
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