Skip to content

Commit

Permalink
Fix OKLAB to_string() to be 3 chars
Browse files Browse the repository at this point in the history
Really to_string() should be replaced with it's actual name, and there
should be a new function called "channels()"
  • Loading branch information
Beinsezii committed Dec 16, 2023
1 parent dfea29f commit afd0bd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ impl ToString for Space {
Space::XYZ => String::from("xyz"),
Space::LAB => String::from("lab"),
Space::LCH => String::from("lch"),
Space::OKLAB => String::from("oklab"),
Space::OKLCH => String::from("oklch"),
Space::OKLAB => String::from("lab"),
Space::OKLCH => String::from("lch"),
}
}
}
Expand Down

0 comments on commit afd0bd3

Please sign in to comment.