diff --git a/distro-packaging/asusctl.spec b/distro-packaging/asusctl.spec index ad8f7944..a37aeeea 100644 --- a/distro-packaging/asusctl.spec +++ b/distro-packaging/asusctl.spec @@ -20,7 +20,7 @@ %global debug_package %{nil} %endif -%define version 6.3.0 +%define version 6.4.0 %define specrelease %{?dist} %define pkg_release 1%{specrelease} diff --git a/rog-aura/src/animation.rs b/rog-aura/src/animation.rs index 078360b3..64671778 100644 --- a/rog-aura/src/animation.rs +++ b/rog-aura/src/animation.rs @@ -11,9 +11,10 @@ use crate::Colour; /// /// Note: This type is serialized as JSON for DBus transport since zvariant /// doesn't support enums with heterogeneous variants. -#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)] pub enum AnimationMode { /// No animation running + #[default] None, /// Rainbow effect - cycles through HSV hue (0-360°) Rainbow { @@ -49,11 +50,6 @@ pub enum AnimationMode { }, } -impl Default for AnimationMode { - fn default() -> Self { - Self::None - } -} impl AnimationMode { /// Returns true if this is an active animation mode