Allow tinting images grayscale

This commit is contained in:
Antonio Scandurra 2023-10-04 15:27:51 +02:00
parent 1816ab95a0
commit d385bc9cce
6 changed files with 20 additions and 5 deletions

View file

@ -305,6 +305,7 @@ impl<'a, 'w> WindowContext<'a, 'w> {
bounds,
content_mask,
tile,
grayscale: false,
},
);
}
@ -379,6 +380,7 @@ impl<'a, 'w> WindowContext<'a, 'w> {
bounds,
content_mask,
tile,
grayscale,
},
);