merged in iced master

This commit is contained in:
bungoboingo 2023-01-02 10:58:07 -08:00
parent 5e4e410b18
commit 942f1c91af
5 changed files with 45 additions and 5 deletions

View file

@ -35,7 +35,7 @@ where
let title = application.title();
let scale_factor = application.scale_factor();
let theme = application.theme();
let appearance = theme.appearance(application.style());
let appearance = theme.appearance(&application.style());
let viewport = {
let physical_size = window.inner_size();
@ -213,6 +213,6 @@ where
// Update theme and appearance
self.theme = application.theme();
self.appearance = self.theme.appearance(application.style());
self.appearance = self.theme.appearance(&application.style());
}
}