LibDraw: Parse the color name "pink" to #ffc0cb

This commit is contained in:
Andreas Kling 2019-12-16 19:45:04 +01:00
parent c1474e594e
commit a32cae4c3b
Notes: sideshowbarker 2024-07-19 10:50:10 +09:00

View file

@ -116,6 +116,7 @@ Optional<Color> Color::from_string(const StringView& string)
{ 0x000000, "black" },
{ 0xc0c0c0, "silver" },
{ 0x808080, "gray" },
{ 0xffc0cb, "pink" },
{ 0x000000, nullptr }
};