wip: blurred transparency
This commit is contained in:
parent
ded784a4e3
commit
1b74c6f999
5 changed files with 177 additions and 13 deletions
|
|
@ -565,6 +565,9 @@ impl iced_container::Catalog for Theme {
|
|||
|
||||
Container::ContextDrawer => {
|
||||
let mut a = Container::primary(cosmic);
|
||||
if let Some(Background::Color(ref mut color)) = a.background {
|
||||
color.a = 1.;
|
||||
}
|
||||
|
||||
if cosmic.is_high_contrast {
|
||||
a.border.width = 1.;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue