Allow tinting images grayscale
This commit is contained in:
parent
1816ab95a0
commit
d385bc9cce
6 changed files with 20 additions and 5 deletions
|
@ -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,
|
||||
},
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue