aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/config_error_notification.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ui/config_error_notification.rs b/src/ui/config_error_notification.rs
index d49ab4f0..1331b912 100644
--- a/src/ui/config_error_notification.rs
+++ b/src/ui/config_error_notification.rs
@@ -59,13 +59,7 @@ impl ConfigErrorNotification {
fn animation(&self, from: f64, to: f64) -> Animation {
let c = self.config.borrow();
- Animation::new(
- from,
- to,
- 0.,
- c.animations.config_notification_open_close,
- niri_config::Animation::default_config_notification_open_close(),
- )
+ Animation::new(from, to, 0., c.animations.config_notification_open_close.0)
}
pub fn show_created(&mut self, created_path: Option<PathBuf>) {