style(bar): add aliases for default grouping style

This commit adds the "CtByte" and "CtByteWithShadow" aliases for the
"Default" and "DefaultWithShadow" GroupingStyle variants respectively as
an easter egg to recognize @CtByte's work in implementing the grouping
feature.
This commit is contained in:
LGUG2Z
2024-11-19 19:48:08 -08:00
parent 8de92ec32a
commit 0e48370b73

View File

@@ -219,8 +219,10 @@ pub struct GroupingConfig {
#[derive(Copy, Clone, Debug, Serialize, Deserialize, JsonSchema)]
pub enum GroupingStyle {
#[serde(alias = "CtByte")]
Default,
/// A black shadow is added under the default group
#[serde(alias = "CtByteWithShadow")]
DefaultWithShadow,
}