Respect motion settings and improve accessible theme transitions
This commit is contained in:
1 parent
53bad8c672
commit
7a9fd5c864
13 files changed
+390
-67
No files matched your search
@@ -874,10 +874,13 @@ impl FereseShell {
|
||||
}
|
||||
motion::configure(config.animations, config.theme.material_radius);
|
||||
|
||||
if self.config.animations != config.animations
|
||||
&& let Some(menu) = &mut self.menu
|
||||
{
|
||||
menu.motion.update_settings(config.animations);
|
||||
if self.config.animations != config.animations {
|
||||
if let Some(menu) = &mut self.menu {
|
||||
menu.motion.update_settings(config.animations);
|
||||
}
|
||||
if let Some(modal) = &mut self.system_modal {
|
||||
modal.motion.update_settings(config.animations);
|
||||
}
|
||||
}
|
||||
self.status_service
|
||||
.update_settings(config.status.settings_command.clone());
|
||||
|
||||
Reference in new issue
Block a user