This commit is contained in:
nanowu 2026-04-18 00:04:19 +02:00 committed by GitHub
commit a0877d05ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 42 additions and 15 deletions

View file

@ -411,7 +411,7 @@ where
pub fn style(&self, theme: &Theme) -> theme::Style {
if let Some(style) = self.app.style() {
style
} else if self.app.core().window.is_maximized {
} else if self.app.core().window.is_maximized || !self.app.core().window.client_decorations {
let theme = THEME.lock().unwrap();
crate::style::iced::application::style(theme.borrow())
} else {