feat: add SSD support via config option
This commit is contained in:
parent
3e78eb2381
commit
9929fbbfdb
5 changed files with 42 additions and 15 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue