diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-17 14:06:32 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-17 14:06:32 +0400 |
| commit | 73e9ef5fe20825ed12f1bb05ba10e7eb69bc7662 (patch) | |
| tree | cdb4d408a50494fd86695ce0807602869c047f93 /src/ui/config_error_notification.rs | |
| parent | c40d4f3268318ac295f21bfce38b9809c5e48f0d (diff) | |
| download | niri-73e9ef5fe20825ed12f1bb05ba10e7eb69bc7662.tar.gz niri-73e9ef5fe20825ed12f1bb05ba10e7eb69bc7662.tar.bz2 niri-73e9ef5fe20825ed12f1bb05ba10e7eb69bc7662.zip | |
Resolve animation defaults during parsing
Diffstat (limited to 'src/ui/config_error_notification.rs')
| -rw-r--r-- | src/ui/config_error_notification.rs | 8 |
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>) { |
