mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
lowercase named colours (#222)
This commit is contained in:
parent
fbcaa6eca9
commit
9e34a2660d
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ impl TextColor {
|
|||
|
||||
fn serialize(&self) -> String {
|
||||
if let Some(name) = &self.name {
|
||||
name.clone()
|
||||
name.clone().to_ascii_lowercase()
|
||||
} else {
|
||||
self.format_value()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue