mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Fix cmyk repr (#2682)
This commit is contained in:
parent
f39a8bc015
commit
7aef798658
@ -1409,7 +1409,7 @@ impl Repr for Color {
|
|||||||
}
|
}
|
||||||
Self::Cmyk(c) => {
|
Self::Cmyk(c) => {
|
||||||
eco_format!(
|
eco_format!(
|
||||||
"rgb({}, {}, {}, {})",
|
"cmyk({}, {}, {}, {})",
|
||||||
Ratio::new(c.c as _).repr(),
|
Ratio::new(c.c as _).repr(),
|
||||||
Ratio::new(c.m as _).repr(),
|
Ratio::new(c.m as _).repr(),
|
||||||
Ratio::new(c.y as _).repr(),
|
Ratio::new(c.y as _).repr(),
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Loading…
x
Reference in New Issue
Block a user