feat: add SSD support via config option

This commit is contained in:
nanowu 2025-08-07 17:19:31 +01:00 committed by nanuwo
parent 3e78eb2381
commit 9929fbbfdb
5 changed files with 42 additions and 15 deletions

View file

@ -391,7 +391,7 @@ where
pub fn style(&self, theme: &Theme) -> iced_runtime::Appearance {
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::appearance(theme.borrow())
} else {