fix: absorb libcosmic theme-v2 API (private containers, text::Style, wgpu 28)
Leyoda 2026 – GPLv3
This commit is contained in:
parent
4fa39e5ea3
commit
ba1232cffc
5 changed files with 22 additions and 47 deletions
|
|
@ -831,11 +831,8 @@ impl Program for CosmicWindowInternal {
|
|||
|
||||
fn background_color(&self, theme: &cosmic::Theme) -> Color {
|
||||
if self.window.is_maximized(false) {
|
||||
theme
|
||||
.cosmic()
|
||||
.background(theme.cosmic().frosted_windows)
|
||||
.base
|
||||
.into()
|
||||
theme.cosmic().background(false).base.into()
|
||||
theme.cosmic().background(false).base.into()
|
||||
} else {
|
||||
Color::TRANSPARENT
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue