mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
chore: update spec file version to 6.4.0
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define version 6.3.0
|
%define version 6.4.0
|
||||||
%define specrelease %{?dist}
|
%define specrelease %{?dist}
|
||||||
%define pkg_release 1%{specrelease}
|
%define pkg_release 1%{specrelease}
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,10 @@ use crate::Colour;
|
|||||||
///
|
///
|
||||||
/// Note: This type is serialized as JSON for DBus transport since zvariant
|
/// Note: This type is serialized as JSON for DBus transport since zvariant
|
||||||
/// doesn't support enums with heterogeneous variants.
|
/// doesn't support enums with heterogeneous variants.
|
||||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
|
||||||
pub enum AnimationMode {
|
pub enum AnimationMode {
|
||||||
/// No animation running
|
/// No animation running
|
||||||
|
#[default]
|
||||||
None,
|
None,
|
||||||
/// Rainbow effect - cycles through HSV hue (0-360°)
|
/// Rainbow effect - cycles through HSV hue (0-360°)
|
||||||
Rainbow {
|
Rainbow {
|
||||||
@@ -49,11 +50,6 @@ pub enum AnimationMode {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for AnimationMode {
|
|
||||||
fn default() -> Self {
|
|
||||||
Self::None
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl AnimationMode {
|
impl AnimationMode {
|
||||||
/// Returns true if this is an active animation mode
|
/// Returns true if this is an active animation mode
|
||||||
|
|||||||
Reference in New Issue
Block a user